/* ============================================================
   GENERATOR v2 — wedding feel, streaming, card-result
   ============================================================ */

.generator-section {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 162, 101, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 90%, rgba(232, 196, 196, 0.08) 0%, transparent 70%),
    var(--white);
}
.generator-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Mode tabs */
.generator__modes {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 32px;
  max-width: 440px;
  border: 1px solid var(--gold-border);
  background: var(--cream);
  padding: 4px;
}
.generator__mode {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.generator__mode:hover { color: var(--text); }
.generator__mode--active {
  background: var(--white);
  color: var(--gold-dark);
  box-shadow: var(--shadow-sm);
}

/* Main layout: form on left, live preview card on right */
.generator__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

.generator__form {
  background: var(--cream);
  border: 1px solid var(--gold-border);
  padding: 48px;
  position: relative;
}
.generator__form::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
}

/* Progress (compact, clickable on completed steps) */
.generator__progress {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 32px;
}
.generator__progress-dot {
  flex: 1;
  height: 4px;
  background: var(--cream-dark);
  border: none;
  padding: 0;
  cursor: not-allowed;
  transition: background var(--duration);
  position: relative;
}
.generator__progress-dot--active { background: var(--gold); }
.generator__progress-dot--done {
  background: var(--gold-light);
  cursor: pointer;
}
.generator__progress-dot--done:hover { background: var(--gold); }

/* Back button */
.generator__back-wrap {
  margin-top: 18px;
}
.generator__back {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 12px;
  letter-spacing: 1px;
  padding: 8px 0;
  cursor: pointer;
  transition: color var(--duration);
  font-family: inherit;
}
.generator__back:hover { color: var(--gold); }

/* Custom style: input + hints + confirm button */
.generator__custom-actions {
  margin-top: 12px;
  text-align: right;
}
.style-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.style-hint {
  padding: 6px 12px;
  background: var(--white);
  border: 1px dashed var(--gold-border);
  font-size: 11px;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--duration);
  font-family: inherit;
}
.style-hint:hover {
  border-color: var(--gold);
  border-style: solid;
  color: var(--gold-dark);
}

/* ============================================================
   DETAILS ACCORDION (step 6)
   ============================================================ */
.details-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.details-item {
  background: var(--white);
  border: 1px solid var(--gold-border);
  transition: all var(--duration);
}
.details-item:hover { border-color: var(--gold-border-hover); }
.details-item--open {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.details-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.details-item__icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}
.details-item__label {
  flex: 1;
}
.details-item__check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration);
}
.details-item--filled .details-item__check {
  background: var(--gold);
  border-color: var(--gold);
}
.details-item--filled .details-item__check::after {
  content: '✓';
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}
.details-item__arrow {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform var(--duration);
  flex-shrink: 0;
}
.details-item--open .details-item__arrow {
  transform: rotate(90deg);
  color: var(--gold);
}
.details-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
  padding: 0 18px;
}
.details-item--open .details-item__body {
  max-height: 240px;
  padding: 0 18px 18px;
}

/* Steps */
.generator__step { margin-bottom: 28px; }
.generator__step--hidden { display: none; }

.generator__step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.generator__step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.generator__step-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
}
.generator__step-hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 8px;
}
.generator__step-desc {
  font-size: 14px;
  color: var(--text-light);
  margin: -6px 0 16px 40px;
  font-weight: 400;
}

/* Option buttons */
.generator__options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.generator__option {
  padding: 12px 22px;
  border: 1.5px solid var(--gold-border);
  background: var(--white);
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.generator__option:hover {
  border-color: var(--gold-border-hover);
  background: var(--gold-subtle);
  transform: translateY(-1px);
}
.generator__option--active {
  border-color: var(--gold);
  background: var(--gold-subtle);
  color: var(--gold-dark);
  font-weight: 500;
}
.generator__option--custom { border-style: dashed; }
.generator__option i[data-lucide] { width: 14px; height: 14px; }

.generator__custom-input {
  margin-top: 12px;
  display: none;
}
.generator__custom-input--visible {
  display: block;
  animation: fadeUp 0.3s var(--ease);
}

.generator__input,
.generator__textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--gold-border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  outline: none;
  transition: border-color var(--duration);
}
.generator__textarea { resize: vertical; min-height: 120px; }
.generator__input:focus,
.generator__textarea:focus { border-color: var(--gold); }
.generator__input::placeholder,
.generator__textarea::placeholder { color: var(--text-muted); font-weight: 400; }

.generator__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.generator__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1.5px solid var(--gold-border);
  background: var(--white);
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: all var(--duration);
}
.generator__chip:hover { border-color: var(--gold-border-hover); }
.generator__chip--active {
  border-color: var(--gold);
  background: var(--gold-subtle);
}
.generator__chip i[data-lucide] { width: 15px; height: 15px; color: var(--gold); }

.generator__chip-field {
  width: 100%;
  margin-top: 10px;
  display: none;
}
.generator__chip-field--visible {
  display: block;
  animation: fadeUp 0.3s var(--ease);
}

.generator__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.generator__submit { text-align: center; margin-top: 40px; }
.generator__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 12px;
}
.generator__error {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(201, 160, 160, 0.4);
  background: rgba(232, 196, 196, 0.15);
  color: #8B4747;
  font-size: 13px;
  display: none;
}
.generator__error--visible { display: block; }

/* ============================================================
   LIVE PREVIEW CARD (right column)
   ============================================================ */
.generator__preview {
  background: var(--white);
  border: 1px solid var(--gold-border);
  padding: 32px 28px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.generator__preview::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
}
.generator__preview-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text);
}
.generator__preview-empty {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  padding: 20px 0;
}
.preview-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(196, 162, 101, 0.08);
  font-size: 12px;
  gap: 12px;
}
.preview-row:last-child { border-bottom: none; }
.preview-row__label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  font-size: 10px;
  flex-shrink: 0;
}
.preview-row__value {
  color: var(--text);
  text-align: right;
  font-weight: 500;
}
.preview-row--empty .preview-row__value {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}
.preview-row--clickable {
  cursor: pointer;
  transition: background var(--duration);
}
.preview-row--clickable:hover {
  background: var(--gold-subtle);
}

/* Toast notification */
.svad-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text);
  color: var(--cream);
  padding: 16px 24px;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.5;
  max-width: 320px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s var(--ease);
  z-index: 2000;
}
.svad-toast--visible {
  opacity: 1;
  transform: translateX(0);
}
.svad-toast strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--gold-light);
}

/* Credentials modal after auto-create */
.svad-creds-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.svad-creds-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 35, 24, 0.6);
  backdrop-filter: blur(6px);
}
.svad-creds-modal__dialog {
  position: relative;
  max-width: 440px;
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--gold);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.3s var(--ease);
}
.svad-creds-modal__dialog h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 6px;
}
.svad-creds-modal__dialog p {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.svad-creds-modal__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(196, 162, 101, 0.15);
}
.svad-creds-modal__row:last-of-type { border-bottom: none; margin-bottom: 20px; }
.svad-creds-modal__row span {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  min-width: 60px;
}
.svad-creds-modal__row code {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
  padding: 8px 12px;
  border: 1px solid var(--gold-border);
  word-break: break-all;
}
.svad-creds-modal__hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 14px;
  margin-bottom: 0;
}
.svad-creds-modal__hint a { color: var(--gold); }

/* ============================================================
   INTERVIEW MODE
   ============================================================ */
.interview {
  background: var(--cream);
  border: 1px solid var(--gold-border);
  padding: 48px;
}
.interview__header {
  text-align: center;
  margin-bottom: 28px;
}
.interview__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 12px;
}
.interview__subtitle {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}
.interview__textarea {
  width: 100%;
  padding: 20px 24px;
  border: 1.5px solid var(--gold-border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  min-height: 200px;
  outline: none;
  transition: border-color var(--duration);
  resize: vertical;
  line-height: 1.7;
}
.interview__textarea:focus { border-color: var(--gold); }
.interview__textarea::placeholder {
  color: var(--text-muted);
  font-style: italic;
}
.interview__hints-label {
  margin: 20px 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.interview__hints {
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.interview__hint {
  padding: 8px 14px;
  background: var(--white);
  border: 1px dashed var(--gold-border);
  font-size: 12px;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--duration);
}
.interview__hint:hover {
  border-color: var(--gold);
  color: var(--gold);
  border-style: solid;
}
.interview__actions {
  text-align: center;
  margin-top: 24px;
}

/* ============================================================
   LOADING / STREAMING
   ============================================================ */
.generator__loading {
  text-align: center;
  padding: 36px 20px;
  display: none;
}
.generator__loading--visible { display: block; animation: fadeIn 0.3s; }
.generator__loading-icon {
  width: 48px;
  height: 48px;
  border: 3px solid var(--gold-border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 18px;
}
.generator__loading-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   RESULT — card as a wedding invitation
   ============================================================ */
.result {
  max-width: 760px;
  margin: 56px auto 0;
  display: none;
}
.result--visible { display: block; animation: fadeUp 0.6s var(--ease); }

.result__card {
  background: var(--cream);
  border: 1px solid var(--gold);
  padding: 64px 56px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.result__card::before,
.result__card::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.result__card::before { top: 16px; }
.result__card::after { bottom: 16px; }

.result__ornament {
  width: 100%;
  text-align: center;
  margin-bottom: 24px;
  color: var(--gold);
}
.result__ornament::before,
.result__ornament::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 14px;
}
.result__ornament i[data-lucide] { width: 20px; height: 20px; vertical-align: middle; }

.result__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.result__text {
  font-family: var(--font-quote);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--text);
  white-space: pre-wrap;
  text-align: center;
  position: relative;
  letter-spacing: 0.005em;
}
.result__text::before,
.result__text::after {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 54px;
  line-height: 0;
  position: absolute;
  font-style: normal;
  font-weight: 600;
}
.result__text::before {
  content: '\201C';
  top: 20px;
  left: -10px;
}
.result__text::after {
  content: '\201D';
  bottom: -14px;
  right: -10px;
}
.result__text--typing::after {
  content: '|';
  display: inline-block;
  color: var(--gold);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  animation: blink 1s infinite;
  position: static;
  vertical-align: middle;
  top: auto;
  right: auto;
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.result__signature {
  text-align: center;
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.result__timer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.result__timer i[data-lucide] { width: 14px; height: 14px; }

/* Action buttons */
.result__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}
.result__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--duration);
}
.result__btn--primary { background: var(--gold); color: var(--white); }
.result__btn--primary:hover { background: var(--gold-dark); transform: translateY(-2px); }
.result__btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--gold-border);
}
.result__btn--secondary:hover { border-color: var(--gold); color: var(--gold); }
.result__btn i[data-lucide] { width: 14px; height: 14px; }

/* One-click refinements */
.result__refinements {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gold-border);
}
.result__refinements-title {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.result__refinements-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.refine-btn {
  padding: 10px 18px;
  border: 1.5px solid var(--gold-border);
  background: var(--white);
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  transition: all var(--duration);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.refine-btn:hover:not(:disabled) {
  border-color: var(--gold);
  background: var(--gold-subtle);
  color: var(--gold-dark);
}
.refine-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.refine-btn--locked::before {
  content: '\1F512';
  font-size: 12px;
}

/* Multi-variant (paid) */
.result__variants {
  margin-top: 48px;
}
.result__variants-title {
  font-family: var(--font-display);
  font-size: 22px;
  text-align: center;
  margin-bottom: 24px;
}
.result__variants-grid {
  display: grid;
  gap: 24px;
}
.variant-card {
  background: var(--white);
  border: 1px solid var(--gold-border);
  border-left: 3px solid var(--gold);
  padding: 32px 36px;
  position: relative;
}
.variant-card__num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 40px;
  color: rgba(196, 162, 101, 0.25);
  font-weight: 600;
  line-height: 1;
}
.variant-card__text {
  font-family: var(--font-quote);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
}
.variant-card__actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}

/* Generate-variants CTA (paid feature) */
.result__variants-cta {
  text-align: center;
  margin-top: 32px;
  padding: 24px;
  background: var(--cream);
  border: 1px dashed var(--gold);
}
.result__variants-cta-title {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 8px;
}
.result__variants-cta-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ============================================================
   CHAT (paid)
   ============================================================ */
.chat {
  max-width: 760px;
  margin: 32px auto 0;
  background: var(--white);
  border: 1px solid var(--gold-border);
  padding: 32px 36px;
  display: none;
}
.chat--visible { display: block; }
.chat__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 6px;
}
.chat__subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.chat__history {
  max-height: 380px;
  overflow-y: auto;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat__message {
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 85%;
}
.chat__message--user {
  align-self: flex-end;
  background: var(--gold-subtle);
  border-left: 2px solid var(--gold);
}
.chat__message--assistant {
  align-self: flex-start;
  background: var(--cream);
  border-left: 2px solid var(--text-light);
  font-family: var(--font-quote);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.chat__form {
  display: flex;
  gap: 10px;
}
.chat__input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid var(--gold-border);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}
.chat__input:focus { border-color: var(--gold); }
.chat__submit {
  padding: 13px 22px;
  background: var(--gold);
  color: var(--white);
  border: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
}
.chat__submit:hover { background: var(--gold-dark); }

/* ============================================================
   MY / PROFILE / AUTH pages
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 20px 60px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(232, 196, 196, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(196, 162, 101, 0.08) 0%, transparent 70%),
    var(--cream);
}
.auth-card {
  max-width: 440px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gold-border);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}
.auth-card__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
}
.auth-card__subtitle {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
}
.auth-card__hint {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.7;
}
.auth-card__hint a { color: var(--gold); }
.auth-card__hint a:hover { color: var(--gold-dark); }

.auth-form__field {
  display: block;
  margin-bottom: 20px;
}
.auth-form__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}
.auth-form__input {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--gold-border);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}
.auth-form__input:focus { border-color: var(--gold); }
.auth-form__hint {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.auth-form__error {
  padding: 12px 16px;
  background: rgba(201, 160, 160, 0.1);
  border: 1px solid rgba(201, 160, 160, 0.4);
  color: #8B4747;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

/* Profile page */
.profile-page {
  padding: calc(var(--header-height) + 40px) 20px 60px;
  background: var(--cream);
  min-height: 100vh;
}
.profile-page__title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 8px;
}
.profile-page__subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
}
.profile-page__badge {
  display: inline-block;
  font-size: 10px;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 8px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
}
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--gold-border);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
  height: fit-content;
}
.profile-sidebar__link {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-light);
  border-left: 2px solid transparent;
  text-decoration: none;
}
.profile-sidebar__link:hover { color: var(--gold); }
.profile-sidebar__link--active {
  color: var(--gold-dark);
  border-left-color: var(--gold);
  background: var(--gold-subtle);
}
.profile-sidebar__link--ghost {
  border-top: 1px solid var(--gold-border);
  margin-top: 12px;
  padding-top: 18px;
  color: var(--text-muted);
}
.profile-block {
  background: var(--white);
  border: 1px solid var(--gold-border);
  padding: 32px;
  margin-bottom: 24px;
}
.profile-block__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}
.profile-status {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.status-card {
  padding: 20px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}
.status-card--paid { border-left-color: var(--gold-dark); }
.status-card__label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 6px;
}
.status-card__value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
}
.status-card__cta {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 12px;
}
.profile-texts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profile-texts__empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}
.profile-texts__empty a { color: var(--gold); }

/* My card */
.my-card {
  background: var(--cream);
  border: 1px solid var(--gold-border);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
}
.my-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.my-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
}
.my-card__tag--oath    { color: var(--gold); background: var(--gold-subtle); }
.my-card__tag--toast   { color: #8B7355; background: rgba(139, 115, 85, 0.08); }
.my-card__tag--congrats{ color: var(--rose-deep); background: rgba(201, 160, 160, 0.1); }
.my-card__tag--wish    { color: #7B9B72; background: rgba(123, 155, 114, 0.1); }
.my-card__time {
  font-size: 11px;
  color: var(--text-muted);
}
.my-card__text {
  font-family: var(--font-quote);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--text);
}
.my-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.my-card__btn {
  padding: 7px 14px;
  background: var(--white);
  border: 1px solid var(--gold-border);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: all var(--duration);
}
.my-card__btn:hover { border-color: var(--gold); color: var(--gold); }
.my-card__btn--ghost {
  margin-left: auto;
  padding: 5px 10px;
  color: var(--text-muted);
  border-color: transparent;
  font-size: 18px;
  line-height: 1;
}
.my-card__meta {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}
.my-page {
  padding: calc(var(--header-height) + 40px) 20px 60px;
}
.my-page__title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 8px;
}
.my-page__subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
}
.my-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}
.my-empty {
  text-align: center;
  padding: 60px 20px;
}
.my-empty p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
}

/* ============================================================
   LIMIT BAR — always visible on generator page
   ============================================================ */
.limit-bar {
  max-width: var(--container-narrow);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--cream);
  border: 1px solid var(--gold-border);
  border-left: 3px solid var(--gold);
  font-size: 13px;
}
.limit-bar--paid { border-left-color: var(--gold-dark); background: var(--gold-subtle); }
.limit-bar--exhausted { border-left-color: var(--rose-deep); background: rgba(232, 196, 196, 0.1); }
.limit-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.15);
}
.limit-bar--paid .limit-bar__dot { background: var(--gold-dark); }
.limit-bar--exhausted .limit-bar__dot { background: var(--rose-deep); }
.limit-bar__text {
  flex: 1;
  color: var(--text);
  font-weight: 500;
}
.limit-bar__text strong { color: var(--gold-dark); }
.limit-bar__cta {
  padding: 8px 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  transition: background var(--duration);
  white-space: nowrap;
}
.limit-bar__cta:hover { background: var(--gold-dark); color: var(--white); }

/* ============================================================
   EDITOR LAYOUT (owner view on /r/{public_id}/)
   ============================================================ */
.editor-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
  position: relative;
}
.editor-layout--no-sidebar { grid-template-columns: 1fr; }
.editor-main { min-width: 0; }

/* Versions sidebar */
.editor-sidebar {
  background: var(--white);
  border: 1px solid var(--gold-border);
  padding: 0;
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
}
.editor-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--gold-border);
  background: var(--cream);
}
.editor-sidebar__header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}
.editor-sidebar__close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  padding: 2px 8px;
}
.editor-sidebar__close:hover { color: var(--gold-dark); }
.editor-sidebar__body {
  overflow-y: auto;
  padding: 16px 22px 22px;
  flex: 1;
}
.editor-sidebar__empty {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 20px 0;
}

.version-item {
  padding: 14px 0;
  border-bottom: 1px dashed rgba(196, 162, 101, 0.15);
}
.version-item:last-child { border-bottom: none; }
.version-item--current {
  background: var(--gold-subtle);
  margin: 0 -22px;
  padding: 14px 22px;
  border-left: 3px solid var(--gold);
}
.version-item__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.version-item__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.version-item__time {
  font-size: 10px;
  color: var(--text-muted);
}
.version-item__preview {
  font-family: var(--font-quote);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-light);
  margin: 6px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.version-item__restore {
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--gold-border);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--duration);
}
.version-item__restore:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}
.version-item__current {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Edit mode for result text */
.result__text[data-editable="true"] {
  cursor: pointer;
  transition: all var(--duration);
  padding: 4px 6px;
  margin: -4px -6px;
  border-radius: 2px;
}
.result__text[data-editable="true"]:hover {
  background: rgba(196, 162, 101, 0.06);
  outline: 1px dashed var(--gold-border-hover);
}
.result__text--editing {
  cursor: text !important;
  background: var(--white) !important;
  outline: 2px solid var(--gold) !important;
  text-align: left !important;
  padding: 16px 20px !important;
  font-style: normal !important;
  min-height: 120px;
}
.result__text--editing::before,
.result__text--editing::after { display: none !important; }

.result__edit-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0.7;
}
.result__edit-hint i[data-lucide] { width: 12px; height: 12px; }

.edit-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--gold-border);
}
.edit-actions .btn {
  padding: 11px 22px;
  font-size: 11px;
}

/* ============================================================
   GUEST VIEW (/r/{public_id}/ — not owner)
   Only shows text + CTA to create your own
   ============================================================ */
.view-guest {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  text-align: center;
  animation: fadeUp 0.6s var(--ease);
}
.view-guest__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.view-guest__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 28px;
}
.view-guest__text {
  background: var(--cream);
  border: 1px solid var(--gold);
  padding: 60px 48px;
  position: relative;
  font-family: var(--font-quote);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text);
  white-space: pre-wrap;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
}
.view-guest__text::before,
.view-guest__text::after {
  position: absolute;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 60px;
  font-weight: 600;
  line-height: 0;
}
.view-guest__text::before { content: '\201C'; top: 32px; left: 22px; }
.view-guest__text::after { content: '\201D'; bottom: 8px; right: 22px; }
.view-guest__signature {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.view-guest__cta {
  padding: 36px 28px;
  background: var(--white);
  border: 1px dashed var(--gold);
  margin-top: 28px;
}
.view-guest__cta-desc {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .editor-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 92vw;
    max-height: 100vh;
    z-index: 2000;
    box-shadow: -10px 0 40px rgba(44, 35, 24, 0.15);
    animation: slideInRight 0.3s var(--ease);
  }
  @keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }
  .view-guest__text {
    padding: 40px 24px;
    font-size: 18px;
  }
}

/* ============================================================
   VIEW PAGE (/r/{public_id}/) — minimal layout (not landing)
   ============================================================ */
body.view-body {
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.view-body .view-body__main {
  flex: 1;
}

/* Minimal header: logo + 2 links */
.view-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--gold-border);
}
.view-header-bar__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
  text-decoration: none;
}
.view-header-bar__logo span { color: var(--gold); }
.view-header-bar__nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.view-header-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 14px;
  transition: color var(--duration);
}
.view-header-bar__link:hover { color: var(--gold); }
.view-header-bar__link i[data-lucide] { width: 14px; height: 14px; }
.view-header-bar__link--accent {
  color: var(--gold);
  border: 1px solid var(--gold);
}
.view-header-bar__link--accent:hover {
  background: var(--gold);
  color: var(--white);
}

/* Minimal footer: 1 line */
.view-footer-bar {
  padding: 20px 40px;
  background: var(--text);
  color: rgba(253, 248, 240, 0.6);
  font-size: 12px;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.view-footer-bar a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration);
}
.view-footer-bar a:hover { color: var(--gold-light); }

.view-page {
  padding: 48px 20px 80px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(196, 162, 101, 0.06) 0%, transparent 70%),
    var(--cream);
}
.view-loading {
  text-align: center;
  padding: 80px 20px;
}
.view-notfound {
  text-align: center;
  padding: 80px 20px;
  max-width: 540px;
  margin: 0 auto;
}
.view-notfound__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 12px;
}
.view-notfound__desc {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .view-header-bar { padding: 16px 20px; }
  .view-header-bar__nav { gap: 8px; }
  .view-header-bar__link { padding: 6px 10px; font-size: 10px; }
  .view-header-bar__link--accent span,
  .view-header-bar__link i[data-lucide] { display: none; }
  .view-footer-bar { padding: 16px 20px; font-size: 11px; }
}

/* ============================================================
   REFINE ERROR + UPSELL
   ============================================================ */
.refine-error {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(201, 160, 160, 0.1);
  border: 1px solid rgba(201, 160, 160, 0.4);
  color: #8B4747;
  font-size: 13px;
  text-align: center;
}
.refine-upsell {
  margin-top: 20px;
}
.upsell-card {
  background: var(--cream);
  border: 1px solid var(--gold);
  padding: 32px 36px 28px;
  position: relative;
  animation: fadeUp 0.4s var(--ease);
}
.upsell-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
}
.upsell-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text);
}
.upsell-card__subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.upsell-card__features {
  list-style: none;
  padding: 0;
  max-width: 380px;
  margin: 0 auto 24px;
}
.upsell-card__features li {
  font-size: 13px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(196, 162, 101, 0.15);
}
.upsell-card__features li:last-child { border-bottom: none; }
.upsell-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.upsell-card__actions .btn {
  width: 100%;
  max-width: 320px;
  justify-content: center;
}
.upsell-card__secondary {
  font-size: 11px;
  padding: 10px 18px;
  letter-spacing: 1px;
}

/* NEW: multi-option layout for upsell (server-driven) */
.upsell-card__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: 540px;
  margin: 20px auto 0;
}
.upsell-option {
  background: var(--white);
  border: 1.5px solid var(--gold-border);
  padding: 22px 20px;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-body);
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.upsell-option:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.upsell-option__label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.upsell-option__desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  min-height: 32px;
}
.upsell-option__price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-top: 8px;
}
.upsell-option__price small {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 400;
  margin-left: 2px;
}
.upsell-card__proof {
  text-align: center;
  margin-top: 18px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-style: italic;
}

/* ============================================================
   PAYMENT MODAL
   ============================================================ */
.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pay-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 35, 24, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.2s;
}
.pay-modal__dialog {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--gold);
  padding: 48px 40px 40px;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.3s var(--ease);
}
.pay-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  padding: 4px 12px;
}
.pay-modal__close:hover { color: var(--gold-dark); }
.pay-modal__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 6px;
}
.pay-modal__subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}
.pay-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gold-border);
  margin-bottom: 24px;
}
.pay-summary__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}
.pay-summary__amount {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
}
.pay-summary__old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 16px;
  margin-right: 8px;
}
.pay-form__error {
  padding: 12px 16px;
  background: rgba(201, 160, 160, 0.12);
  border: 1px solid rgba(201, 160, 160, 0.4);
  color: #8B4747;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.pay-field {
  display: block;
  margin-bottom: 16px;
}
.pay-field__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.pay-field__hint {
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.pay-field__input {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--gold-border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color var(--duration);
}
.pay-field__input:focus { border-color: var(--gold); }
.pay-field__feedback {
  display: block;
  font-size: 12px;
  margin-top: 6px;
  min-height: 16px;
}
.pay-field__feedback--ok { color: var(--gold-dark); }
.pay-field__feedback--err { color: #8B4747; }
.pay-promo {
  display: flex;
  gap: 8px;
}
.pay-promo__apply {
  padding: 13px 18px;
  background: var(--white);
  border: 1.5px solid var(--gold-border);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: all var(--duration);
  white-space: nowrap;
}
.pay-promo__apply:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .generator__layout { grid-template-columns: 1fr; }
  .generator__preview { position: static; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; flex-direction: row; overflow-x: auto; }
}
@media (max-width: 768px) {
  .generator__form { padding: 28px 20px; }
  .generator__options { gap: 8px; }
  .generator__option { padding: 10px 16px; font-size: 12px; }
  .generator__row { grid-template-columns: 1fr; }
  .result__card { padding: 40px 24px; }
  .result__text { font-size: 18px; }
  .chat { padding: 24px 20px; }
  .interview { padding: 28px 20px; }
  .auth-card { padding: 32px 24px; }
}
