/* =============================================
   REGISTRATION PORTAL STYLES
============================================= */


  /* =============================================
     CSS VARIABLES — THEME SYSTEM
  ============================================= */
  :root {
    /* Theme A: Navy & Gold (default) */
    --primary: #1a2e4a;
    --primary-dark: #0f1d30;
    --primary-light: #2a4a72;
    --accent: #b8973a;
    --accent-light: #d4af5a;
    --accent-pale: #f5edd6;
    --bg: #f7f8fa;
    --bg-card: #ffffff;
    --bg-subtle: #eef1f5;
    --text: #1a2e4a;
    --text-muted: #5a6a7e;
    --text-light: #8a9ab0;
    --border: #d4dae4;
    --border-light: #e8ecf2;
    --success: #2d7a4f;
    --error: #c0392b;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Source Sans 3', sans-serif;
    --shadow-sm: 0 1px 3px rgba(26,46,74,0.08);
    --shadow-md: 0 4px 16px rgba(26,46,74,0.10);
    --shadow-lg: 0 8px 32px rgba(26,46,74,0.13);
    --radius: 6px;
    --radius-lg: 10px;
  }

  [data-theme="B"] {
    /* Theme B: Navy & Gold — White Header */
    --primary: #1a2e4a;
    --primary-dark: #0f1d30;
    --primary-light: #2a4a72;
    --accent: #b8973a;
    --accent-light: #d4af5a;
    --accent-pale: #f5edd6;
    --bg: #f7f8fa;
    --bg-card: #ffffff;
    --bg-subtle: #eef1f5;
    --text: #1a2e4a;
    --text-muted: #5a6a7e;
    --text-light: #8a9ab0;
    --border: #d4dae4;
    --border-light: #e8ecf2;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Source Sans 3', sans-serif;
    --shadow-sm: 0 1px 3px rgba(26,46,74,0.08);
    --shadow-md: 0 4px 16px rgba(26,46,74,0.10);
    --shadow-lg: 0 8px 32px rgba(26,46,74,0.13);
    /* Header-specific overrides */
    --header-bg: #ffffff;
    --header-border: #e8ecf2;
    --header-text: #1a2e4a;
    --header-text-muted: #5a6a7e;
    --header-logo-mark-bg: #1a2e4a;
    --header-btn-border: #d4dae4;
    --header-btn-hover: #f0f2f5;
  }

  /* Theme B header overrides */
  [data-theme="B"] .site-header {
    background: var(--header-bg, #ffffff);
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 2px 8px rgba(26,46,74,0.08);
  }
  [data-theme="B"] .site-logo .logo-mark {
    background: var(--primary);
  }
  [data-theme="B"] .site-logo .logo-text {
    color: var(--primary);
  }
  [data-theme="B"] .site-logo .logo-text span {
    color: var(--accent);
    font-weight: 600;
  }
  [data-theme="B"] .header-nav a {
    color: var(--text-muted);
  }
  [data-theme="B"] .header-nav a:hover {
    background: var(--bg-subtle);
    color: var(--primary);
  }
  [data-theme="B"] .header-nav .btn-outline {
    border: 1.5px solid var(--border);
    color: var(--primary);
  }
  [data-theme="B"] .header-nav .btn-outline:hover {
    background: var(--bg-subtle);
    border-color: var(--primary);
  }

  /* =============================================
     RESET & BASE
  ============================================= */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { font-size: var(--base-font-size, 17px); scroll-behavior: smooth; }
  body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
  }

  /* =============================================
     DEV THEME SWITCHER BAR
  ============================================= */
  #dev-bar {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 7px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.647rem;
    font-family: monospace;
    border-bottom: 2px solid #b8973a;
    position: sticky;
    top: 0;
    z-index: 9999;
  }
  #dev-bar span { color: #888; letter-spacing: 0.05em; text-transform: uppercase; }
  #dev-bar select {
    background: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #444;
    padding: 3px 8px;
    font-family: monospace;
    font-size: 0.647rem;
    border-radius: 3px;
    cursor: pointer;
  }
  #dev-bar .dev-badge {
    background: #b8973a;
    color: #1a1a1a;
    padding: 2px 8px;
    border-radius: 2px;
    font-weight: bold;
    font-size: 0.588rem;
    letter-spacing: 0.08em;
  }
  #dev-bar .dev-nav { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
  #dev-bar .dev-nav button {
    background: transparent;
    border: 1px solid #444;
    color: #bbb;
    padding: 2px 10px;
    font-family: monospace;
    font-size: 0.588rem;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.15s;
  }
  #dev-bar .dev-nav button:hover { border-color: #b8973a; color: #b8973a; }
  #dev-bar .dev-nav button.active { border-color: #b8973a; color: #1a1a1a; background: #b8973a; }

  /* =============================================
     SITE HEADER
  ============================================= */
  .site-header {
    background: var(--primary);
    color: white;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    box-shadow: var(--shadow-md);
  }
  .site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .site-logo .logo-mark {
    width: 38px;
    height: 38px;
    background: var(--accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.059rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
  }
  .site-logo .logo-text {
    font-family: var(--font-display);
    font-size: 0.882rem;
    font-weight: 600;
    line-height: 1.25;
    color: white;
  }
  .site-logo .logo-text span {
    display: block;
    font-size: 0.647rem;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    font-family: var(--font-body);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .header-nav { display: flex; align-items: center; gap: 6px; }
  .header-nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.765rem;
    padding: 6px 14px;
    border-radius: var(--radius);
    transition: all 0.2s;
  }
  .header-nav a:hover { background: rgba(255,255,255,0.1); color: white; }
  .header-nav .btn-outline {
    border: 1px solid rgba(255,255,255,0.35);
    color: white;
  }
  .header-nav .btn-outline:hover { background: rgba(255,255,255,0.15); }

  /* =============================================
     PAGE SYSTEM
  ============================================= */
  .page { display: none; animation: fadeIn 0.2s ease; }
  .page.active { display: block; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

  /* =============================================
     LAYOUT CONTAINERS
  ============================================= */
  .page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 60px;
  }
  .page-container.narrow {
    max-width: 520px;
  }
  .page-container.medium {
    max-width: 700px;
  }

  /* =============================================
     PAGE HEADER BANNER
  ============================================= */
  .page-banner { display: none; }

  /* Step header — sits inside the card, below the stepper */
  .step-header {
    padding: 18px 28px 16px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-card);
  }
  .step-header .step-indicator {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 3px;
    opacity: 0.7;
  }
  .step-header h1 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.25;
  }
  .step-header p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
  }
  [data-theme="C"] .step-header .step-indicator { color: #6c47ff; opacity: 1; }
  [data-theme="C"] .step-header { background: #f8f7ff; border-bottom-color: #e0e2ef; }

  /* =============================================
     CARDS & FORMS
  ============================================= */
  .card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  .card-body { padding: 28px; }
  .card-body + .card-body { border-top: 1px solid var(--border-light); }

  .form-group { margin-bottom: 18px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-row.three { grid-template-columns: 1fr 1fr 1fr; }
  label {
    display: block;
    font-size: 0.735rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  select,
  textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.824rem;
    color: var(--text);
    background: var(--bg-card);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
  }
  input:focus, select:focus, textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(26,46,74,0.08);
  }
  textarea { resize: vertical; min-height: 80px; }
  .form-hint {
    font-size: 0.676rem;
    color: var(--text-light);
    margin-top: 4px;
  }
  .form-error {
    font-size: 0.676rem;
    color: var(--error);
    margin-top: 4px;
  }

  /* Radio / Checkbox groups */
  .radio-group, .check-group { display: flex; flex-direction: column; gap: 8px; }
  .radio-item, .check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s;
    background: var(--bg-card);
  }
  .radio-item:hover, .check-item:hover { border-color: var(--primary-light); background: var(--bg-subtle); }
  .radio-item.selected, .check-item.selected { border-color: var(--primary); background: var(--bg-subtle); }
  .radio-item input, .check-item input { margin-top: 2px; accent-color: var(--primary); }
  .radio-item .item-label, .check-item .item-label { font-size: 0.824rem; font-weight: 500; }
  .radio-item .item-desc, .check-item .item-desc { font-size: 0.706rem; color: var(--text-muted); margin-top: 1px; }

  /* =============================================
     BUTTONS
  ============================================= */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.824rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    border: none;
    text-decoration: none;
    letter-spacing: 0.01em;
  }
  .btn-primary {
    background: var(--primary);
    color: white;
  }
  .btn-primary:hover { background: var(--primary-light); box-shadow: var(--shadow-md); }
  .btn-accent {
    background: var(--accent);
    color: white;
  }
  .btn-accent:hover { background: var(--accent-light); box-shadow: var(--shadow-md); }
  .btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--border);
  }
  .btn-outline:hover { border-color: var(--primary); background: var(--bg-subtle); }
  .btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 10px 14px;
  }
  .btn-ghost:hover { color: var(--text); background: var(--bg-subtle); }
  .btn-sm { padding: 6px 14px; font-size: 0.735rem; }
  .btn-lg { padding: 13px 30px; font-size: 0.882rem; }
  .btn-full { width: 100%; }

  /* =============================================
     PROGRESS STEPPER
  ============================================= */
  .stepper {
    display: flex;
    align-items: center;
    padding: 20px 28px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto;
    gap: 0;
  }
  .step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .step-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-subtle);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.647rem;
    font-weight: 700;
    color: var(--text-light);
    transition: all 0.2s;
    flex-shrink: 0;
  }
  .step.done .step-dot {
    background: var(--success);
    border-color: var(--success);
    color: white;
  }
  .step.active .step-dot {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
  }
  .step-label {
    font-size: 0.676rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
  }
  .step.active .step-label { color: var(--primary); font-weight: 600; }
  .step.done .step-label { color: var(--success); }
  .step-connector {
    flex: 1;
    height: 2px;
    background: var(--border-light);
    margin: 0 6px;
    min-width: 20px;
    max-width: 40px;
  }
  .step-connector.done { background: var(--success); }

  /* =============================================
     FORM NAV FOOTER
  ============================================= */
  .form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
  }

  /* =============================================
     LODGING CARDS
  ============================================= */
  .lodging-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .lodging-card {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.18s;
    background: var(--bg-card);
    position: relative;
  }
  .lodging-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); }
  .lodging-card.selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,46,74,0.1); }
  .lodging-card .selected-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    font-size: 0.588rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: none;
  }
  .lodging-card.selected .selected-badge { display: block; }
  .lodging-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.706rem;
  }
  .lodging-img-placeholder {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--border-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    gap: 6px;
  }
  .lodging-img-placeholder svg { opacity: 0.4; }
  .lodging-img-placeholder span { font-size: 0.647rem; }
  .lodging-info { padding: 12px 14px; }
  .lodging-info h4 { font-size: 0.824rem; font-weight: 600; margin-bottom: 4px; color: var(--text); }
  .lodging-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
  }
  .lodging-tag {
    font-size: 0.647rem;
    padding: 2px 7px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 3px;
  }
  .lodging-cost {
    font-size: 0.765rem;
    font-weight: 700;
    color: var(--primary);
  }
  .lodging-cost span { font-weight: 400; color: var(--text-muted); font-size: 0.647rem; }

  /* =============================================
     ALERT / NOTICE BOXES
  ============================================= */
  .notice {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.765rem;
    line-height: 1.5;
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }
  .notice-info { background: #e8f0fa; border-left: 3px solid #4a7fc1; color: #1a3a5c; }
  .notice-warning { background: #fef6e4; border-left: 3px solid var(--accent); color: #5a3e00; }
  .notice-success { background: #e6f5ec; border-left: 3px solid var(--success); color: #1a4a2e; }
  .notice-icon { font-size: 0.941rem; flex-shrink: 0; margin-top: 1px; }

  /* =============================================
     ATTENDEE ROWS
  ============================================= */
  .attendee-list { display: flex; flex-direction: column; gap: 12px; }
  .attendee-row {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px;
    position: relative;
  }

  /* Primary contact row — distinct but subtle */
  .attendee-row.primary-contact-row {
    background: linear-gradient(135deg, #faf8ff 0%, #f3f0ff 100%);
    border: 1px solid #c4b5fd;
    border-left: 4px solid #6c47ff;
    padding-top: 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(108, 71, 255, 0.10);
  }
  [data-theme="C"] .attendee-row.primary-contact-row {
    background: linear-gradient(135deg, #faf8ff 0%, #f3f0ff 100%);
    border-color: #c4b5fd;
    border-left: 4px solid #6c47ff;
  }

  .primary-contact-bar {
    background: linear-gradient(90deg, #6c47ff, #8b6aff);
    color: #fff;
    font-size: 0.624rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 -16px 0 -4px;
  }
  .primary-contact-bar::before {
    content: '★';
    font-size: 0.7rem;
    opacity: 0.85;
  }
  [data-theme="C"] .primary-contact-bar {
    background: linear-gradient(90deg, #6c47ff, #8b6aff);
  }

  .badge-adult-fixed {
    font-size: 0.647rem;
    font-weight: 700;
    color: #6c47ff;
    background: #ede9fe;
    border: 1px solid #c4b5fd;
    border-radius: 20px;
    padding: 2px 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  /* Primary contact label color override */
  .primary-contact-row .row-title {
    color: #6c47ff !important;
    font-weight: 800;
  }

  .primary-contact-details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #c4b5fd;
  }
  .attendee-row .row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }
  .attendee-row .row-title {
    font-size: 0.706rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
  }
  .attendee-row .remove-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.765rem;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.15s;
  }
  .attendee-row .remove-btn:hover { background: #fee; color: var(--error); }
  .type-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
  }
  .type-btn {
    padding: 5px 14px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    font-size: 0.706rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--bg-card);
    color: var(--text-muted);
    transition: all 0.15s;
  }
  .type-btn.active { background: var(--primary); border-color: var(--primary); color: white; }

  /* =============================================
     DIVIDER
  ============================================= */
  .divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 20px 0;
  }
  .section-title {
    font-size: 0.765rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
  }

  /* =============================================
     CONFIRMATION / SUMMARY
  ============================================= */
  .summary-block {
    background: var(--bg-subtle);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
  }
  .summary-block .summary-title {
    font-size: 0.706rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 10px;
  }
  .summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.794rem;
    padding: 5px 0;
    border-bottom: 1px solid var(--border-light);
  }
  .summary-row:last-child { border-bottom: none; }
  .summary-row .label { color: var(--text-muted); }
  .summary-row .value { font-weight: 500; color: var(--text); text-align: right; }
  .cost-total {
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
  }
  .cost-total .label { font-size: 0.765rem; opacity: 0.8; }
  .cost-total .amount { font-size: 1.176rem; font-weight: 700; font-family: var(--font-display); }
  .cost-note {
    font-size: 0.676rem;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: right;
  }

  /* =============================================
     AUTH PAGES
  ============================================= */
  .auth-wrapper {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
  }
  .auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
  }
  .auth-header {
    background: var(--primary);
    padding: 28px;
    text-align: center;
    color: white;
  }
  .auth-header .event-year {
    font-size: 0.647rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-light);
    margin-bottom: 6px;
  }
  .auth-header h2 {
    font-family: var(--font-display);
    font-size: 1.176rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .auth-header p {
    font-size: 0.735rem;
    color: rgba(255,255,255,0.65);
  }
  .auth-body { padding: 28px; }
  .auth-footer {
    padding: 14px 28px;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
    text-align: center;
    font-size: 0.765rem;
    color: var(--text-muted);
  }
  .auth-footer a {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
  }
  .auth-footer a:hover { text-decoration: underline; }

  /* =============================================
     VERIFICATION PAGE
  ============================================= */
  .verify-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.647rem;
  }

  /* =============================================
     GOLF CART PAGE
  ============================================= */
  .info-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 16px;
  }
  .info-box h4 { font-size: 0.824rem; font-weight: 600; margin-bottom: 8px; }
  .info-box ul { padding-left: 18px; }
  .info-box ul li { font-size: 0.765rem; color: var(--text-muted); margin-bottom: 4px; }

  /* =============================================
     RESPONSIVE
  ============================================= */
  @media (max-width: 600px) {
    .site-header { padding: 0 16px; }
    .page-banner { padding: 24px 20px; }
    .card-body { padding: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .lodging-grid { grid-template-columns: 1fr; }
    .stepper { padding: 14px 16px; }
    .form-nav { padding: 16px 20px; }
    #dev-bar .dev-nav { display: none; }
  }

  /* =============================================
     UTILITY
  ============================================= */
  .text-center { text-align: center; }
  .text-muted { color: var(--text-muted); font-size: 0.765rem; }
  .mt-4 { margin-top: 16px; }
  .mt-6 { margin-top: 24px; }
  .mb-4 { margin-bottom: 16px; }
  .flex-center { display: flex; justify-content: center; }
  .required { color: var(--error); }
  .hidden { display: none !important; }

  [data-theme="C"] {
    --primary:        #6c47ff;
    --primary-dark:   #4f2fe8;
    --primary-light:  #8b6bff;
    --accent:         #ff6b35;
    --accent-light:   #ff8c5a;
    --accent-pale:    #fff0eb;
    --bg:             #f5f6fa;
    --bg-card:        #ffffff;
    --bg-subtle:      #eef0f8;
    --text:           #0f0e2a;
    --text-muted:     #6b7280;
    --text-light:     #9ca3af;
    --border:         #e0e2ef;
    --border-light:   #ecedf5;
    --success:        #059669;
    --success-bg:     #d1fae5;
    --warning:        #d97706;
    --warning-bg:     #fef3c7;
    --error:          #dc2626;
    --error-bg:       #fee2e2;
    --info:           #2563eb;
    --info-bg:        #dbeafe;
    --font-display:   'Plus Jakarta Sans', sans-serif;
    --font-body:      'Inter', sans-serif;
    --shadow-sm:      0 1px 4px rgba(108,71,255,0.07);
    --shadow-md:      0 4px 20px rgba(108,71,255,0.10);
    --shadow-lg:      0 8px 40px rgba(108,71,255,0.14);
    --radius:         10px;
    --radius-lg:      16px;
    --base-font-size: 16px;
  }

  /* Theme C: site header uses deep purple gradient */
  [data-theme="C"] .site-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #4f2fe8 100%);
  }
  [data-theme="C"] .site-header .logo-mark {
    background: #ff6b35;
  }

  /* Theme C: auth card header */
  [data-theme="C"] .auth-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #4f2fe8 100%);
  }

  /* Theme C: page banners */
  [data-theme="C"] .page-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #6c47ff 100%);
  }
  [data-theme="C"] .page-banner .step-indicator {
    color: #a78bfa;
  }

  /* Theme C: step dots */
  [data-theme="C"] .step.active .step-dot {
    background: #6c47ff;
    border-color: #6c47ff;
  }
  [data-theme="C"] .step.done .step-dot {
    background: #059669;
    border-color: #059669;
  }
  [data-theme="C"] .step.active .step-label { color: #6c47ff; }
  [data-theme="C"] .step-connector.done { background: #059669; }

  /* Theme C: buttons */
  [data-theme="C"] .btn-primary {
    background: linear-gradient(135deg, #6c47ff 0%, #4f2fe8 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(108,71,255,0.35);
  }
  [data-theme="C"] .btn-primary:hover {
    background: linear-gradient(135deg, #7c57ff 0%, #6c47ff 100%);
    box-shadow: 0 6px 20px rgba(108,71,255,0.45);
    transform: translateY(-1px);
  }
  [data-theme="C"] .btn-accent {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(255,107,53,0.35);
  }
  [data-theme="C"] .btn-accent:hover {
    background: linear-gradient(135deg, #ff7c4a 0%, #ff9a6a 100%);
    box-shadow: 0 6px 20px rgba(255,107,53,0.45);
    transform: translateY(-1px);
  }
  [data-theme="C"] .btn-outline {
    border: 2px solid #6c47ff;
    color: #6c47ff;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 10px;
  }
  [data-theme="C"] .btn-outline:hover {
    background: #6c47ff;
    color: #fff;
    transform: translateY(-1px);
  }
  [data-theme="C"] .btn-ghost { color: #6c47ff; font-family: 'Inter', sans-serif; }

  /* Theme C: inputs */
  [data-theme="C"] input[type="text"],
  [data-theme="C"] input[type="email"],
  [data-theme="C"] input[type="tel"],
  [data-theme="C"] input[type="password"],
  [data-theme="C"] input[type="number"],
  [data-theme="C"] select,
  [data-theme="C"] textarea {
    border: 2px solid #e0e2ef;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
  }
  [data-theme="C"] input:focus,
  [data-theme="C"] select:focus,
  [data-theme="C"] textarea:focus {
    border-color: #6c47ff;
    box-shadow: 0 0 0 3px rgba(108,71,255,0.13);
  }

  /* Theme C: lodging cards */
  [data-theme="C"] .lodging-card.selected {
    border-color: #6c47ff;
    box-shadow: 0 0 0 3px rgba(108,71,255,0.15);
  }
  [data-theme="C"] .lodging-card .selected-badge { background: #6c47ff; }
  [data-theme="C"] .lodging-cost { color: #6c47ff; }

  /* Theme C: radio/check items */
  [data-theme="C"] .radio-item.selected,
  [data-theme="C"] .check-item.selected {
    border-color: #6c47ff;
    background: #f0eeff;
  }

  /* Theme C: type toggle */
  [data-theme="C"] .type-btn.active { background: #6c47ff; border-color: #6c47ff; }

  /* Theme C: cost total */
  [data-theme="C"] .cost-total { background: linear-gradient(135deg, #1e1b4b 0%, #6c47ff 100%); }

  /* Theme C: section titles */
  [data-theme="C"] .section-title { color: #6c47ff; border-bottom-color: #e0e2ef; }

  /* Theme C: notice info */
  [data-theme="C"] .notice-info { background: #dbeafe; border-left-color: #2563eb; color: #1e3a8a; }

  /* Theme C: stepper background */
  [data-theme="C"] .stepper { background: #f8f7ff; border-bottom-color: #e0e2ef; }

  /* Theme C: form nav */
  [data-theme="C"] .form-nav { background: #f8f7ff; border-top-color: #e0e2ef; }

  /* Theme C: labels */
  [data-theme="C"] label { color: #6b7280; }

  /* Theme C: typography */
  [data-theme="C"] h1, [data-theme="C"] h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
  }
  [data-theme="C"] h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
  [data-theme="C"] .auth-header h2 { font-family: 'Plus Jakarta Sans', sans-serif; }

  /* Theme C: confirmation header */
  [data-theme="C"] .auth-header[style*="success"] {
    background: linear-gradient(135deg, #059669 0%, #34d399 100%) !important;
  }



/* ── Validation Popup Animations ── */

  @keyframes slideUp {
    from { opacity:0; transform:translate(-50%,-46%); }
    to   { opacity:1; transform:translate(-50%,-50%); }
  }
  .field-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.15) !important;
    animation: shake 0.35s ease;
  }
  @keyframes shake {
    0%,100% { transform:translateX(0); }
    20%      { transform:translateX(-5px); }
    60%      { transform:translateX(5px); }
    80%      { transform:translateX(-3px); }
  }
