@charset "UTF-8";
/* Birthday Wish Generator - self-contained UI, gets its own stylesheet (same
   reasoning as css/video-maker.css and css/premium.css being separate from
   css/style.css) rather than bloating every other page's CSS. Reads the
   design tokens (--brand-*, --space-*, --text-*, --radius-*, --shadow-*,
   --font-*) already defined in css/style.css's :root block, loaded first via
   the shared layout's <head> bundle - no tokens are redefined here. */

.wg-hero {
  max-width: 760px;
  margin: 0 0 var(--space-6);
}
.wg-hero h1 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--ink);
  margin: 0 0 var(--space-3);
}
.wg-hero__sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin: 0;
}

.wg-app {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
  margin-bottom: var(--space-7);
}
.wg-loading,
.wg-noscript {
  text-align: center;
  color: var(--text-muted);
  padding: var(--space-6) 0;
}

/* ---- form --------------------------------------------------------------- */

.wg-field {
  margin-bottom: var(--space-5);
}
.wg-field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.wg-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.wg-chip {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 0.5em 1.1em;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: all 0.2s ease;
}
.wg-chip:hover {
  border-color: var(--brand-pink);
}
.wg-chip.is-selected {
  background: var(--brand-pink);
  border-color: var(--brand-pink);
  color: #fff;
}
.wg-field input[type="text"] {
  width: 100%;
  max-width: 420px;
  min-height: 44px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 var(--space-4);
  font-size: var(--text-base);
  background: var(--bg-page);
  color: var(--ink);
}
.wg-generate-btn {
  min-height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--brand-pink);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wg-generate-btn:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.wg-generate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.wg-empty-note {
  color: var(--text-muted-3);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

/* ---- results -------------------------------------------------------------- */

.wg-results {
  margin-top: var(--space-6);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-6);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}
.wg-result-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.wg-result-card__label {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--brand-pink);
}
.wg-result-card__text {
  flex: 1;
  color: var(--ink);
  line-height: 1.6;
}
.wg-result-card__actions {
  display: flex;
  gap: var(--space-2);
}
/* Reuses the site-wide .js-copy-quote (copy-to-clipboard + "Copied!" tooltip,
   see style.css's COPY QUOTE / COPY LINK FEEDBACK block) and .js-share-track
   (WhatsApp link + GA4 event, see js/ga4-events.js) handlers instead of new
   JS - just restyled here as labelled pill buttons instead of bare icons. */
.wg-result-card__actions .js-copy-quote,
.wg-result-card__actions .js-share-track {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  margin-top: 0;
}
.wg-result-card__actions .js-copy-quote:hover,
.wg-result-card__actions .js-share-track:hover {
  border-color: var(--brand-pink);
  color: var(--brand-pink);
}
.wg-result-card__actions .js-share-track[data-share-type="whatsapp"] {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.wg-result-card__actions .js-share-track[data-share-type="whatsapp"]:hover {
  color: #fff;
  opacity: 0.9;
}

/* ---- links + FAQ ---------------------------------------------------------- */

.wg-links {
  margin-bottom: var(--space-7);
}
.wg-links__list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.wg-links__list a {
  display: inline-block;
  padding: 0.5em 1.2em;
  border-radius: var(--radius-pill);
  background: var(--surface-tint);
  color: var(--brand-pink);
  font-weight: 600;
  font-size: var(--text-sm);
}

.wg-faq {
  margin-bottom: var(--space-7);
}
.wg-faq__item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-3);
}
.wg-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-heading);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.wg-faq__item p {
  margin: var(--space-2) 0 0;
  color: var(--text-muted);
}

@media only screen and (max-width: 480px) {
  .wg-field input[type="text"] {
    max-width: none;
  }
}
