/*!************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/whatsapp-link-generator/link-generator.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************/
/* ============================================
   Link Generator — form + phone preview
   (ported from the original whatsapp-link-generator app)
   ============================================ */
.wsw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg) var(--spacing-xl);
}

.wsw-form {
  background: #fff;
  padding: var(--spacing-xl);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: var(--spacing-xl);
}

.wlg-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .wlg-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }
}

.wlg-form {
  flex: 1 1;
  min-width: 0;
}

.wlg-input-group {
  margin-bottom: 1.5rem;
}

.wlg-label {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: var(--spacing-sm);
}

.wlg-format-toolbar {
  display: flex;
  gap: 0.25rem;
  padding: 0.35rem;
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.wlg-format-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-color);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.15s ease;
  padding: 0;
}

.wlg-format-btn:hover {
  background: #fff;
  border-color: var(--border-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.wlg-format-btn-mono span {
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  font-size: 0.75rem;
  font-weight: 600;
}

.wlg-textarea-wrapper {
  position: relative;
}

.wlg-textarea {
  width: 100%;
  height: 280px;
  padding: 0.65rem;
  padding-right: 2.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  resize: none;
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--text-color);
  font-family: inherit;
  background: #fff;
  transition: all 0.2s ease;
}

.wlg-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.wlg-emoji-button {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  padding: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 50%;
  line-height: 0;
  transition: all 0.2s ease;
}

.wlg-emoji-button:hover {
  background-color: var(--background-lighter);
  color: var(--text-color);
}

.wlg-emoji-picker {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  width: 340px;
  height: 380px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wlg-emoji-tabs {
  display: flex;
  gap: 0.1rem;
  padding: 0.4rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--background-light);
  overflow-x: auto;
  scrollbar-width: none;
}

.wlg-emoji-tabs::-webkit-scrollbar {
  display: none;
}

.wlg-emoji-tab {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-size: 1.15rem;
  line-height: 1;
  transition: background 0.15s ease;
}

.wlg-emoji-tab:hover {
  background: var(--background-lighter);
}

.wlg-emoji-body {
  flex: 1 1;
  overflow-y: auto;
  padding: 0.75rem;
}

.wlg-emoji-category {
  margin-bottom: 1rem;
}

.wlg-emoji-category h3 {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 0.4rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: -webkit-sticky;
  position: sticky;
  top: -0.75rem;
  background: linear-gradient(to bottom, #fff 70%, rgba(255, 255, 255, 0));
  padding: 0.5rem 0 0.25rem;
  z-index: 1;
}

.wlg-emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-gap: 0.1rem;
  gap: 0.1rem;
}

.wlg-emoji-grid button {
  aspect-ratio: 1;
  padding: 0;
  font-size: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.1s ease, transform 0.1s ease;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

.wlg-emoji-grid button:hover {
  background-color: var(--background-lighter);
  transform: scale(1.15);
}

.wlg-link-wrapper {
  position: relative;
}

.wlg-input {
  width: 100%;
  padding: 0.65rem 3rem 0.65rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  background-color: var(--background-light);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wlg-copy-btn {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.4rem;
  background: var(--background-lighter);
  border: none;
  cursor: pointer;
  color: var(--text-color);
  line-height: 0;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.wlg-copy-btn:hover {
  background-color: var(--border-color);
}

.wlg-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.wlg-btn {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.wlg-try-btn {
  background-color: var(--background-light);
  color: var(--text-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.wlg-try-btn:hover {
  background-color: var(--background-lighter);
}

.wlg-copy-link-btn {
  background-color: var(--primary-color);
  color: white;
}

.wlg-copy-link-btn:hover {
  background-color: var(--primary-hover);
}

/* Phone preview */
.wlg-phone-preview {
  flex-shrink: 0;
  width: 320px;
  margin: 0 auto;
  padding: 0 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

.wlg-phone-frame {
  position: relative;
  background: #000;
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.35),
    0 0 0 2px #0a0a0a,
    inset 0 0 0 1px #2a2a2a;
  overflow: hidden;
  height: 640px;
  display: flex;
  flex-direction: column;
}

.wlg-phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.wlg-phone-statusbar {
  background: #008069;
  color: white;
  padding: 14px 22px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 34px 34px 0 0;
  font-size: 14px;
  font-weight: 600;
  position: relative;
}

.wlg-phone-statusbar .wlg-time {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  padding-left: 10px;
}

.wlg-status-icons {
  display: flex;
  gap: 6px;
  align-items: center;
  color: white;
  padding-right: 4px;
}

.wlg-whatsapp-header {
  background-color: #008069;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.wlg-wa-back {
  background: transparent;
  border: none;
  color: white;
  display: flex;
  padding: 2px;
  cursor: default;
}

.wlg-wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #DFE5E7;
}

.wlg-wa-contact {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.wlg-wa-name {
  font-size: 15px;
  font-weight: 500;
  color: white;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wlg-wa-status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.wlg-wa-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  padding-right: 6px;
}

.wlg-chat-container {
  flex: 1 1;
  background-color: #EFE7DE;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'><g fill='none' stroke='%23d9cfc2' stroke-width='1.2' opacity='0.55'><path d='M20 40c12-18 34-18 46 0s34 18 46 0 34-18 46 0 34 18 46 0 34-18 46 0'/><path d='M10 120c10-14 28-14 38 0s28 14 38 0 28-14 38 0 28 14 38 0 28-14 38 0 28 14 38 0'/></g></svg>");
  background-size: 260px 260px;
  padding: 10px 8px 6px;
  overflow-y: auto;
  position: relative;
}

.wlg-chat-date {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 10px;
  padding: 4px 10px;
  background: #E1F2FA;
  color: #54656F;
  font-size: 11px;
  font-weight: 500;
  border-radius: 7px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.08);
  letter-spacing: 0.02em;
}

.wlg-message-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100% - 32px);
  gap: 6px;
}

.wlg-message {
  background: white;
  padding: 6px 8px 8px;
  border-radius: 8px;
  max-width: 82%;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
  font-size: 14.2px;
  color: #111B21;
  line-height: 1.35;
}

.wlg-message-outgoing {
  background: #D9FDD3;
  align-self: flex-end;
  border-radius: 8px 0 8px 8px;
  margin-right: 6px;
  padding-right: 10px;
}

.wlg-message-outgoing::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 0;
  width: 8px;
  height: 13px;
  background: #D9FDD3;
  -webkit-clip-path: polygon(0 0, 0 100%, 100% 0);
          clip-path: polygon(0 0, 0 100%, 100% 0);
}

.wlg-preview-message {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding-right: 56px;
  min-height: 18px;
}

.wlg-preview-message strong { font-weight: 600; }
.wlg-preview-message em { font-style: italic; }
.wlg-preview-message u { text-decoration: underline; }
.wlg-preview-message del { text-decoration: line-through; }
.wlg-preview-message code {
  font-family: 'Monaco','Menlo','Consolas',monospace;
  font-size: 13px;
  background: rgba(0,0,0,0.06);
  padding: 0 3px;
  border-radius: 3px;
}

.wlg-preview-placeholder {
  color: #8696A0;
  font-style: italic;
}

.wlg-message-time {
  position: absolute;
  right: 10px;
  bottom: 4px;
  font-size: 11px;
  color: #667781;
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.wlg-input-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 8px;
  background: #F0F2F5;
}

.wlg-input-field {
  flex: 1 1;
  background: white;
  border-radius: 24px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  color: #54656F;
}

.wlg-input-icon {
  flex-shrink: 0;
  color: #54656F;
}

.wlg-input-placeholder {
  flex: 1 1;
  font-size: 14px;
  color: #3B4A54;
}

.wlg-input-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #008069;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.wlg-chat-container::-webkit-scrollbar {
  width: 0;
}

.wlg-chat-container {
  scrollbar-width: none;
}

@media (max-width: 768px) {
  .wsw-form {
    padding: 1rem;
  }

  .wlg-actions {
    flex-direction: column;
  }

  .wlg-btn {
    flex: none;
    width: 100%;
  }

  .wlg-emoji-picker {
    width: calc(100vw - 3rem);
    max-width: 320px;
    right: 0;
  }

  .wlg-phone-preview {
    width: 300px;
  }
}

