/* ============================================================
   CSS VARIABLES
   ============================================================ */
/* Dark Mode (default) */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --bg-input: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #475569;
    --border-focus: #3b82f6;
    --gradient-start: #1d4ed8;
    --gradient-mid: #2563eb;
    --gradient-end: #1e3a5f;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --checkbox-bg: white;
}

/* Light Mode */
@media (prefers-color-scheme: light) {
    :root {
        --bg-main: #f1f5f9;
        --bg-card: #ffffff;
        --bg-input: #f1f5f9;
        --text-primary: #0f172a;
        --text-secondary: #475569;
        --text-muted: #94a3b8;
        --border: #e2e8f0;
        --border-focus: #3b82f6;
        --gradient-start: #1d4ed8;
        --gradient-mid: #2563eb;
        --gradient-end: #1e3a5f;
        --shadow-color: rgba(0, 0, 0, 0.08);
        --checkbox-bg: white;
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

/* ============================================================
   ANIMATED BACKGROUND
   ============================================================ */
.bg-pattern {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
    animation: float 30s ease-in-out infinite;
}

@media (prefers-color-scheme: light) {
    .bg-pattern::before {
        background:
            radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.04) 0%, transparent 40%);
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(0, 4%) rotate(0deg); }
    75% { transform: translate(-2%, 2%) rotate(-1deg); }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   BRANDING BAR
   ============================================================ */
.branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    animation: fadeIn 0.6s ease-out;
}

.branding__logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.branding__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.header__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.header__badge svg { color: var(--primary); }

.header__badge svg { width: 16px; height: 16px; }

.header__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (prefers-color-scheme: light) {
    .header__title {
        background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }
}

.header__subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================================
   LOADING STATE
   ============================================================ */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 48px; height: 48px;
    border: 3px solid var(--bg-input);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   ERROR STATE
   ============================================================ */
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.error-icon {
    width: 64px; height: 64px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}

.error-icon svg { width: 32px; height: 32px; color: var(--error); }

.error-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.error-message { color: var(--text-secondary); margin-bottom: 1.5rem; max-width: 400px; }

.error-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.error-btn:hover { background: var(--border); }

/* ============================================================
   MAIN – 2 COLUMN LAYOUT
   ============================================================ */
.main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.main.hidden { display: none; }

@media (min-width: 900px) {
    .main { grid-template-columns: 1fr 440px; }
}

/* ============================================================
   EVENT CARD (left column)
   ============================================================ */
.event-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    height: fit-content;
    box-shadow: 0 1px 3px var(--shadow-color);
}

.event-card__image { width: 100%; height: 240px; object-fit: cover; }

.event-card__image-placeholder {
    width: 100%; height: 240px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    display: flex; align-items: center; justify-content: center;
}

.event-card__image-placeholder svg { width: 64px; height: 64px; color: rgba(255,255,255,0.3); }



.event-card__content { padding: 2rem; }

.event-card__date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: color-mix(in srgb, var(--accent) 15%, transparent);
    color: var(--accent);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.event-card__description { color: var(--text-secondary); margin-bottom: 1.5rem; white-space: pre-line; }

.event-card__details { display: flex; flex-direction: column; gap: 1rem; }

.detail-item { display: flex; align-items: flex-start; gap: 1rem; }

.detail-item__icon {
    width: 40px; height: 40px;
    background: var(--bg-input);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.detail-item__icon svg { width: 20px; height: 20px; color: var(--primary-light); }

.detail-item__label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}

.detail-item__value { font-weight: 500; }

/* ============================================================
   WIZARD CARD (right column)
   ============================================================ */
.wizard-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    height: fit-content;
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px var(--shadow-color);
}

/* Progress Bar */
.wizard-progress {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0 0.25rem;
}

.wizard-progress__step {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-input);
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.wizard-progress__step.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.wizard-progress__step.completed {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.wizard-progress__line {
    flex: 1;
    height: 2px;
    background: var(--border);
    transition: background 0.3s ease;
}

.wizard-progress__line.completed { background: var(--success); }

/* Step Container */
.wizard-step {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    animation: fadeIn 0.3s ease-out;
    min-height: 200px;
}

.wizard-step.active { display: flex; }

.wizard-step__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.wizard-step__subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* ============================================================
   STEP: Registration Type
   ============================================================ */
.reg-type-options { display: flex; flex-direction: column; gap: 1rem; }

.reg-type-option {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.reg-type-option:hover {
    border-color: var(--primary-light);
    background: rgba(37, 99, 235, 0.08);
}

.reg-type-option.selected {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.12);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.reg-type-option__icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.reg-type-option__icon--sso { background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.2)); }
.reg-type-option__icon--guest { background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.2)); }

.reg-type-option__content { flex: 1; }
.reg-type-option__title { font-weight: 600; font-size: 1rem; margin-bottom: 0.125rem; }
.reg-type-option__description { color: var(--text-secondary); font-size: 0.8125rem; }

.reg-type-option__check {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.reg-type-option.selected .reg-type-option__check {
    border-color: var(--primary);
    background: var(--primary);
}

.reg-type-option.selected .reg-type-option__check::after {
    content: '';
    width: 8px; height: 8px;
    background: white;
    border-radius: 50%;
}

/* ============================================================
   STEP: Participation Type
   ============================================================ */
.participation-options { display: flex; flex-direction: column; gap: 1rem; }

.participation-option {
    display: flex; align-items: center; gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.participation-option:hover { border-color: var(--primary-light); background: rgba(37, 99, 235, 0.08); }

.participation-option.selected {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.12);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.participation-option__icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.participation-option__icon--inperson { background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.2)); }
.participation-option__icon--virtual { background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.2)); }

.participation-option__content { flex: 1; }
.participation-option__title { font-weight: 600; font-size: 1rem; margin-bottom: 0.125rem; }
.participation-option__description { color: var(--text-secondary); font-size: 0.8125rem; }

.participation-option__check {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.participation-option.selected .participation-option__check { border-color: var(--primary); background: var(--primary); }
.participation-option.selected .participation-option__check::after { content: ''; width: 8px; height: 8px; background: white; border-radius: 50%; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 0.875rem; }
.form-group:last-child { margin-bottom: 0; }
.form-group--row { display: flex; flex-direction: row; gap: 1rem; margin-bottom: 0.875rem; }
.form-group--row:last-child { margin-bottom: 0; }
.form-group--row .form-group { margin-bottom: 0; }
.form-group--row .form-group { flex: 1; }

.form-label { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); }
.form-label--required::after { content: '*'; color: var(--error); margin-left: 0.25rem; }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-textarea { min-height: 80px; resize: vertical; }

@media (prefers-color-scheme: light) {
    .form-input,
    .form-select,
    .form-textarea {
        background: #ffffff;
        border-color: #cbd5e1;
    }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

    .counter-control,
    .toggle-control,
    .summary-section,
    .day-hint {
        background: #f8fafc;
        border-color: #e2e8f0;
    }

    .room-type-option,
    .day-option,
    .reg-type-option,
    .participation-option {
        background: #ffffff;
        border-color: #e2e8f0;
    }

    .bg-input-items,
    .dietary-chip,
    .dietary-radio {
        background: #ffffff;
        border-color: #e2e8f0;
    }

    .counter-btn {
        background: #ffffff;
        border-color: #e2e8f0;
    }

    .btn-select-all {
        background: #ffffff;
        border-color: #e2e8f0;
    }

    .btn--back {
        background: #ffffff;
        border-color: #e2e8f0;
    }

    .error-btn {
        background: #ffffff;
        border-color: #e2e8f0;
    }
}

/* ============================================================
   STEP: Attendees
   ============================================================ */
.counter-control {
    display: flex; align-items: center; gap: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.counter-control__label { flex: 1; }
.counter-control__label-title { font-weight: 600; }
.counter-control__label-subtitle { color: var(--text-secondary); font-size: 0.8125rem; }

.counter-control__buttons { display: flex; align-items: center; gap: 0.75rem; }

.counter-btn {
    width: 36px; height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.counter-btn:hover:not(:disabled) { border-color: var(--primary); background: rgba(37, 99, 235, 0.15); }
.counter-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.counter-value { font-size: 1.25rem; font-weight: 700; min-width: 28px; text-align: center; }

.guest-name-inputs { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.guest-name-input-row { display: flex; align-items: center; gap: 0.75rem; }
.guest-name-input-row .form-input { flex: 1; }
.guest-name-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; min-width: 60px; }

/* ============================================================
   STEP: Day Selection
   ============================================================ */
.btn-select-all {
    padding: 0.5rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-select-all:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(37, 99, 235, 0.08);
}

.day-hint {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    color: var(--accent);
    display: flex; align-items: flex-start; gap: 0.625rem;
}

.day-hint__icon { flex-shrink: 0; font-size: 1.1rem; margin-top: 0.05rem; }

.day-options { display: flex; flex-direction: column; gap: 0.625rem; }

.day-option {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.day-option:hover { border-color: var(--primary-light); }

.day-option.selected { border-color: var(--primary); background: rgba(37, 99, 235, 0.1); }

.day-option__checkbox {
    width: 22px; height: 22px;
    border-radius: 6px;
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.day-option.selected .day-option__checkbox { border-color: var(--primary); background: var(--primary); }
.day-option.selected .day-option__checkbox::after { content: '✓'; color: white; font-size: 0.7rem; font-weight: 700; }

.day-option__label { font-weight: 500; }
.day-option__date { color: var(--text-secondary); font-size: 0.8125rem; }

/* ============================================================
   STEP: Accommodation
   ============================================================ */
.toggle-control {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
}

.toggle-control__label { flex: 1; }
.toggle-control__label-title { font-weight: 600; }
.toggle-control__label-subtitle { color: var(--text-secondary); font-size: 0.8125rem; }

.toggle-switch {
    width: 48px; height: 26px;
    background: var(--border);
    border-radius: 13px;
    position: relative;
    transition: background 0.25s ease;
    flex-shrink: 0;
}

.toggle-switch.active { background: var(--primary); }

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 20px; height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.25s ease;
}

.toggle-switch.active::after { transform: translateX(22px); }

.accommodation-details { display: none; flex-direction: column; gap: 1rem; padding-top: 0.5rem; }
.accommodation-details.visible { display: flex; }

.room-type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }

.room-type-option {
    padding: 0.875rem;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.room-type-option:hover { border-color: var(--primary-light); }
.room-type-option.selected { border-color: var(--primary); background: rgba(37, 99, 235, 0.1); }
.room-type-option__icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.room-type-option__label { font-weight: 500; font-size: 0.875rem; }

/* ============================================================
   STEP: Dietary
   ============================================================ */
.dietary-choice {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.dietary-radio {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.dietary-radio:hover { border-color: var(--primary-light); }

.dietary-radio.selected {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
}

.dietary-radio input[type="radio"] { display: none; }

.dietary-radio__indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.dietary-radio.selected .dietary-radio__indicator {
    border-color: var(--primary);
}

.dietary-radio.selected .dietary-radio__indicator::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

.dietary-radio__label {
    font-size: 0.9375rem;
    font-weight: 500;
}

.dietary-select-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 0.625rem;
}

#dietaryDetails {
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.dietary-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.dietary-chip {
    padding: 0.5rem 1rem;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 100px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.dietary-chip:hover { border-color: var(--primary-light); }
.dietary-chip.selected { border-color: var(--primary); background: rgba(37, 99, 235, 0.15); color: var(--primary-light); }

/* ============================================================
   STEP: Summary
   ============================================================ */
.summary-sections { display: flex; flex-direction: column; gap: 1.125rem; }

.summary-section {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-input);
    border-radius: 12px;
}

.summary-section__icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.summary-section__content { flex: 1; min-width: 0; }
.summary-section__label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.125rem; }
.summary-section__value { font-weight: 500; font-size: 0.9375rem; word-break: break-word; overflow-wrap: break-word; }
.summary-section__value--sub { color: var(--text-secondary); font-size: 0.8125rem; font-weight: 400; word-break: break-word; overflow-wrap: break-word; }

.approval-notice {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--warning);
}

.approval-notice__icon { flex-shrink: 0; font-size: 1.1rem; }

.privacy-checkbox {
    display: flex; align-items: flex-start; gap: 0.75rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.privacy-checkbox input {
    width: 20px; height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.privacy-checkbox span { font-size: 0.8125rem; color: var(--text-secondary); }
.privacy-checkbox a { color: var(--primary-light); text-decoration: none; }
.privacy-checkbox a:hover { text-decoration: underline; }

/* ============================================================
   NAVIGATION BUTTONS
   ============================================================ */
.wizard-nav {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.btn {
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem;
    border: none;
}

.btn--back {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    flex: 0 0 auto;
}

.btn--back:hover { background: var(--border); color: var(--text-primary); }

.btn--next {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn--next:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3); }
.btn--next:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--submit {
    flex: 1;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
}

.btn--submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3); }
.btn--submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn svg { width: 18px; height: 18px; }

.spinner-small {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================================
   SUCCESS STATE
   ============================================================ */
.success-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
    display: none;
    box-shadow: 0 1px 3px var(--shadow-color);
}

.success-card.visible { display: block; }

.success-card__icon {
    width: 80px; height: 80px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-card__icon svg { width: 40px; height: 40px; color: var(--success); }

.success-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.success-card__message {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto; margin-right: auto;
}

/* Form Error */
.form-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    display: none;
    margin-bottom: 1rem;
}

.form-error.visible { display: block; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: auto;
}

.footer a { color: var(--text-secondary); text-decoration: none; }
.footer a:hover { color: var(--primary-light); }

/* ============================================================
   OTP STYLES
   ============================================================ */
.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0;
    font-family: inherit;
}
.btn-link:hover { text-decoration: underline; }
.btn-link:disabled {
    color: var(--text-muted);
    cursor: default;
    text-decoration: none;
}

.otp-code-input {
    font-variant-numeric: tabular-nums;
}

.auth-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    font-size: 0.8125rem;
    color: #10b981;
}
.auth-user-badge strong {
    color: var(--text-primary);
}

/* ============================================================
   GUIDE BUTTON (Success Card)
   ============================================================ */
.btn--guide {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary, #2563eb);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
}
.btn--guide:hover {
    background: var(--primary-dark, #1d4ed8);
    transform: translateY(-1px);
}
.btn--guide svg {
    flex-shrink: 0;
}

.success-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.btn--secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
}
.btn--secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ============================================================
   AUTH BAR
   ============================================================ */
.auth-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
}
.auth-bar__user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}
.auth-bar__icon {
    color: var(--text-secondary);
}
.auth-bar__logout {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.15s;
}
.auth-bar__logout:hover {
    background: #f3f4f6;
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

/* ============================================================
   CHARACTER COUNTER
   ============================================================ */
.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ============================================================
   LEGAL MODAL
   ============================================================ */
.legal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.legal-modal {
    background: var(--card-bg, #fff);
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.legal-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    flex-shrink: 0;
}
.legal-modal__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}
.legal-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    color: var(--text-secondary);
    transition: all 0.15s;
}
.legal-modal__close:hover {
    background: #f3f4f6;
    color: var(--text-primary);
}
.legal-modal__body {
    padding: 1.5rem;
    overflow-y: auto;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    white-space: pre-wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
    .container { padding: 1rem; }
    .form-group--row { flex-direction: column; }
    .event-card__content, .wizard-card { padding: 1.5rem; }
    .room-type-options { grid-template-columns: 1fr; }
}
