/* All Access Festival Pass 2026 */


/* Matches booking-2026.css / event-2026.css design language */


/* ==========================================
   CSS CUSTOM PROPERTIES
   ========================================== */

.festival-2026 {
    --ybo-dark: #1c323a;
    --ybo-dark-light: #264653;
    --ybo-blue: #319eca;
    --ybo-blue-light: #4db3d9;
    --ybo-blue-dark: #2a8bb8;
    --ybo-yellow: #e3ba2d;
    --ybo-yellow-light: #edc94d;
    --ybo-yellow-dark: #c9a526;
    --background: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #f1f5f9;
    --border-color-dark: #e2e8f0;
    --text-primary: #1c323a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --success: #22c55e;
    --success-light: #dcfce7;
    --error: #ef4444;
    --error-light: #fef2f2;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --card-shadow: 0 4px 20px rgba(28, 50, 58, 0.08);
    --card-shadow-hover: 0 8px 30px rgba(28, 50, 58, 0.12);
    --input-focus-shadow: 0 0 0 3px rgba(49, 158, 202, 0.15);
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --transition-base: 200ms ease;
    background: var(--background);
    min-height: 100vh;
}

.festival-2026 * {
    box-sizing: border-box;
}


.festival-2026 .festival-page {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}


/* ==========================================
   HERO
   ========================================== */

.festival-2026 .festival-hero {
    background: linear-gradient(135deg, var(--ybo-dark) 0%, var(--ybo-dark-light) 100%);
    padding: 48px 20px 40px;
    text-align: center;
}

.festival-2026 .festival-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
}

.festival-2026 .festival-dates {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
}


/* ==========================================
   LAYOUT
   ========================================== */

.festival-2026 .festival-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.festival-2026 .festival-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color-dark);
    border-radius: var(--radius-xl);
    box-shadow: var(--card-shadow);
    padding: 28px;
    margin-bottom: 24px;
}

.festival-2026 .festival-panel h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.festival-2026 .festival-panel p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
}

.festival-2026 .festival-panel p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   ALERTS
   ========================================== */

.festival-2026 .festival-alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.festival-2026 .festival-alert-success {
    background: var(--success-light);
    border-color: #86efac;
    color: #166534;
}

.festival-2026 .festival-alert-error {
    background: var(--error-light);
    border-color: #fca5a5;
    color: #991b1b;
}


/* ==========================================
   CODE ENTRY
   ========================================== */

.festival-2026 .festival-unlock {
    border-top: 3px solid var(--ybo-yellow);
}

.festival-2026 .festival-code-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.festival-2026 .festival-code-form input {
    flex: 1 1 240px;
    min-width: 0;
    padding: 14px 16px;
    font-size: 17px;
    font-family: "SFMono-Regular", Menlo, Consolas, monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid var(--border-color-dark);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    background: #fff;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.festival-2026 .festival-code-form input::placeholder {
    color: var(--text-light);
    letter-spacing: 0.08em;
}

.festival-2026 .festival-code-form input:focus {
    outline: none;
    border-color: var(--ybo-blue);
    box-shadow: var(--input-focus-shadow);
}

.festival-2026 .btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 600;
    background: var(--ybo-yellow);
    color: var(--ybo-dark);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition-base), transform var(--transition-base);
}

.festival-2026 .btn-apply:hover {
    background: var(--ybo-yellow-dark);
    color: var(--ybo-dark);
    transform: translateY(-1px);
    text-decoration: none;
}

.festival-2026 .festival-field-error {
    color: var(--error);
    font-size: 13px;
    margin: 8px 0 0;
}

.festival-2026 .festival-buy-prompt {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-muted);
}

.festival-2026 .festival-buy-prompt a {
    color: var(--ybo-blue);
    font-weight: 600;
}


/* ==========================================
   UNLOCKED PASS BANNER
   ========================================== */

.festival-2026 .festival-pass-active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--ybo-dark) 0%, var(--ybo-dark-light) 100%);
    border-color: transparent;
}

.festival-2026 .festival-pass-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.festival-2026 .festival-pass-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ybo-yellow);
}

.festival-2026 .festival-pass-code {
    font-family: "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
}

.festival-2026 .btn-link {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    cursor: pointer;
}

.festival-2026 .btn-link:hover {
    color: #fff;
}


/* ==========================================
   RESERVATIONS
   ========================================== */

.festival-2026 .festival-reservations,
.festival-2026 .festival-shows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.festival-2026 .festival-reservations li,
.festival-2026 .festival-show {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}

.festival-2026 .festival-reservations li:last-child,
.festival-2026 .festival-show:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.festival-2026 .festival-reservation-detail,
.festival-2026 .festival-show-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1 1 260px;
}

.festival-2026 .festival-reservation-detail strong {
    font-size: 16px;
    color: var(--text-primary);
}

.festival-2026 .festival-reservation-detail span,
.festival-2026 .festival-venue {
    font-size: 14px;
    color: var(--text-muted);
}

.festival-2026 .festival-pending {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--warning-light);
    color: #92400e;
    font-size: 12px !important;
    font-weight: 600;
    align-self: flex-start;
}

.festival-2026 .btn-cancel {
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    background: #fff;
    border: 1px solid var(--border-color-dark);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.festival-2026 .btn-cancel:hover {
    border-color: var(--error);
    color: var(--error);
}


/* ==========================================
   SHOW LISTING
   ========================================== */

.festival-2026 .festival-show-detail h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.festival-2026 .festival-show-detail h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.festival-2026 .festival-show-detail h3 a:hover {
    color: var(--ybo-blue);
}

.festival-2026 .festival-times {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.festival-2026 .festival-times li {
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--border-color);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

.festival-2026 .festival-show-action {
    flex: none;
}

.festival-2026 .festival-show-action .btn-link {
    color: var(--ybo-blue);
    text-decoration: none;
    font-weight: 600;
}

.festival-2026 .festival-show-action .btn-link:hover {
    text-decoration: underline;
}

.festival-2026 .festival-help {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}


/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 640px) {
    .festival-2026 .festival-hero {
        padding: 32px 16px 28px;
    }
    .festival-2026 .festival-hero h1 {
        font-size: 26px;
    }
    .festival-2026 .festival-body {
        padding: 20px 14px 48px;
    }
    .festival-2026 .festival-panel {
        padding: 20px;
    }
    .festival-2026 .festival-code-form {
        flex-direction: column;
    }
    .festival-2026 .festival-code-form input,
    .festival-2026 .btn-apply {
        width: 100%;
    }
    .festival-2026 .festival-reservations li,
    .festival-2026 .festival-show {
        flex-direction: column;
        align-items: flex-start;
    }
    .festival-2026 .festival-show-action {
        width: 100%;
    }
    .festival-2026 .festival-show-action .btn-apply {
        width: 100%;
    }
}


/* ==========================================
   FESTIVAL PROMO — shown on a show's own page
   ==========================================
   Not scoped under .festival-2026: this appears on the event page, which
   carries its own body class. Kept deliberately quiet so it reads as useful
   context rather than an advert competing with the Buy button. */

.festival-promo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 4px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #e3ba2d;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: #1c323a;
    transition: border-color 150ms ease, transform 150ms ease;
}

.festival-promo:hover {
    border-color: #e3ba2d;
    transform: translateY(-1px);
    text-decoration: none;
    color: #1c323a;
}

.festival-promo:focus-visible {
    outline: 2px solid #319eca;
    outline-offset: 2px;
}

.festival-promo-mark {
    flex: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a6d0f;
    background: #fdf3d3;
    border-radius: 999px;
    padding: 3px 9px;
}

.festival-promo-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
    min-width: 0;
}

.festival-promo-text strong {
    color: #1c323a;
    font-weight: 700;
}

.festival-promo-go {
    flex: none;
    font-size: 18px;
    color: #e3ba2d;
}

@media (max-width: 640px) {
    .festival-promo {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .festival-promo-go { display: none; }
}
