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

/* ===== HONEYPOT ===== */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ===== CSS VARIABLES - BOOKING WIDGET COLORS ===== */
:root {
    /* Primary Colors */
    --gold: #c5a059;
    --gold-light: #d4af6a;
    --gold-lighter: #d4b06a;
    --dark-bg: #0a0e14;
    --dark-card: rgba(14, 20, 27, 0.6);
    
    /* Text Colors */
    --text-white: #fff;
    --text-gray: #ccc;
    --text-gray-light: #aaa;
    --text-gray-dark: #999;
    --text-gray-darker: #666;
    
    /* Accent Colors */
    --green: #4ade80;
    --blue: #3b82f6;
    --red: #ef4444;
    --yellow: #fbbf24;
    
    /* Gold Opacity Variants */
    --gold-opacity-03: rgba(197, 160, 89, 0.03);
    --gold-opacity-05: rgba(197, 160, 89, 0.05);
    --gold-opacity-08: rgba(197, 160, 89, 0.08);
    --gold-opacity-10: rgba(197, 160, 89, 0.1);
    --gold-opacity-15: rgba(197, 160, 89, 0.15);
    --gold-opacity-20: rgba(197, 160, 89, 0.2);
    --gold-opacity-25: rgba(197, 160, 89, 0.25);
    --gold-opacity-30: rgba(197, 160, 89, 0.3);
    --gold-opacity-40: rgba(197, 160, 89, 0.4);
    --gold-opacity-50: rgba(197, 160, 89, 0.5);
    --gold-opacity-60: rgba(197, 160, 89, 0.6);
    
    /* Dark Opacity Variants */
    --dark-opacity-05: rgba(14, 20, 27, 0.5);
    --dark-opacity-06: rgba(14, 20, 27, 0.6);
    --dark-opacity-08: rgba(14, 20, 27, 0.8);
    
    /* White Opacity Variants */
    --white-opacity-05: rgba(255, 255, 255, 0.05);
    --white-opacity-10: rgba(255, 255, 255, 0.1);
    
    /* Blue Opacity Variants */
    --blue-opacity-10: rgba(59, 130, 246, 0.1);
    
    /* Black Opacity Variants */
    --black-opacity-05: rgba(0, 0, 0, 0.05);
    --black-opacity-50: rgba(0, 0, 0, 0.5);
    --black-opacity-70: rgba(0, 0, 0, 0.7);
}

/* Note: Body styles removed - widget is now embedded in existing pages */


/* ===== BOOKING WIDGET ===== */
.booking-widget {
    position: fixed;
    background: var(--dark-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Extra small: fullscreen (<450px) */
@media (max-width: 449px) {
    .booking-widget {
        inset: 0;
        background: var(--dark-bg);
    }
    
    .booking-widget.minimized {
        display: none;
    }
    
    .widget-inner {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        background: var(--dark-bg);
        border: none;
        border-radius: 0;
        overflow: hidden;
    }
    
    .widget-header {
        border-bottom: 1px solid var(--gold-opacity-20);
    }
    
    .widget-left {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .widget-sidebar {
        display: none !important;
    }
}

/* Small: centered, max 400px (450-767px) */
@media (min-width: 450px) and (max-width: 767px) {
    .booking-widget {
        inset: 0;
        background: var(--black-opacity-70);
        backdrop-filter: blur(4px);
    }
    
    .booking-widget.minimized {
        display: none;
    }
    
    .widget-inner {
        width: min(400px, 90%);
        margin: 40px auto;
        height: calc(100vh - 80px);
        display: flex;
        flex-direction: column;
        background: var(--dark-bg);
        border: 1px solid var(--gold-opacity-30);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    }
    
    .widget-header {
        border-bottom: 1px solid var(--gold-opacity-20);
    }
    
    .widget-left {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .widget-sidebar {
        display: none !important;
    }
}

/* Medium: 2-column, right shrinks (768-894px) */
@media (min-width: 768px) and (max-width: 894px) {
    .booking-widget {
        inset: 0;
        background: var(--black-opacity-70);
        backdrop-filter: blur(4px);
    }
    
    .booking-widget.minimized {
        opacity: 0;
        pointer-events: none;
    }
    
    .widget-inner {
        width: 90%;
        max-width: 800px;
        margin: 40px auto;
        height: calc(100vh - 80px);
        display: grid;
        grid-template-columns: 1fr minmax(200px, 350px); /* Left grows, right shrinks but min 200px */
        grid-template-rows: auto 1fr auto; /* header, content, footer */
        gap: 0;
        background: var(--dark-bg);
        border: 1px solid var(--gold-opacity-30);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    }
    
    .widget-header {
        grid-column: 1 / -1;
        border-bottom: 1px solid var(--gold-opacity-20);
    }
    
    .widget-left {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-right: 1px solid var(--gold-opacity-20);
    }
    
    .widget-sidebar {
        display: flex;
        flex-direction: column;
        background: var(--gold-opacity-03);
        padding: 16px;
        overflow-y: auto;
    }
    
    .sticky-footer {
        display: none !important;
    }
}

/* Large: 2-column, left shrinks (895-1121px) */
@media (min-width: 895px) and (max-width: 1121px) {
    .booking-widget {
        inset: 0;
        background: var(--black-opacity-70);
        backdrop-filter: blur(4px);
    }
    
    .booking-widget.minimized {
        opacity: 0;
        pointer-events: none;
    }
    
    .widget-inner {
        width: 90%;
        max-width: 900px;
        margin: 40px auto;
        height: calc(100vh - 80px);
        display: grid;
        grid-template-columns: 1fr 400px; /* Left shrinks, right fixed 400px */
        grid-template-rows: auto 1fr auto; /* header, content, footer */
        gap: 0;
        background: var(--dark-bg);
        border: 1px solid var(--gold-opacity-30);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    }
    
    .widget-header {
        grid-column: 1 / -1;
        border-bottom: 1px solid var(--gold-opacity-20);
    }
    
    .widget-left {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-right: 1px solid var(--gold-opacity-20);
    }
    
    .widget-sidebar {
        display: flex;
        flex-direction: column;
        background: var(--gold-opacity-03);
        padding: 24px;
        overflow-y: auto;
    }
    
    .sticky-footer {
        display: none !important;
    }
}

/* Extra large: 2-column optimal (≥1122px) */
@media (min-width: 1122px) {
    .booking-widget {
        inset: 0;
        background: var(--black-opacity-70);
        backdrop-filter: blur(4px);
    }
    
    .booking-widget.minimized {
        opacity: 0;
        pointer-events: none;
    }
    
    .widget-inner {
        width: 900px; /* Fixed width */
        margin: 40px auto;
        height: calc(100vh - 80px);
        display: grid;
        grid-template-columns: 1fr 400px; /* Left flexible, right 400px */
        grid-template-rows: auto 1fr auto; /* header, content, footer */
        gap: 0;
        background: var(--dark-bg);
        border: 1px solid var(--gold-opacity-30);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    }
    
    .widget-header {
        grid-column: 1 / -1;
        border-bottom: 1px solid var(--gold-opacity-20);
    }
    
    .widget-left {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-right: 1px solid var(--gold-opacity-20);
    }
    
    .widget-sidebar {
        display: flex;
        flex-direction: column;
        background: var(--gold-opacity-03);
        padding: 24px;
        overflow-y: auto;
    }
    
    .sticky-footer {
        display: none !important;
    }
}

/* ===== HEADER ===== */
.widget-header {
    background: linear-gradient(to bottom, var(--gold-opacity-10), transparent);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.widget-header h1 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    line-height: 1.3;
}

/* Widget header uses .nav-logo and .nav-slogan classes from main website CSS */
/* Customized for widget to make it stand out more */

.widget-header h1 .nav-logo {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    background: linear-gradient(
        110deg, 
        #9c7e46 0%, 
        #c5a059 40%, 
        #decba4 50%, 
        #c5a059 60%, 
        #9c7e46 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

.widget-header h1 .nav-slogan {
    font-family: "Montserrat", sans-serif;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 2px;
}

@media (min-width: 768px) {
    .widget-header h1 .nav-logo {
        font-size: 1.3rem;
    }
    
    .widget-header h1 .nav-slogan {
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .widget-header h1 .nav-slogan {
        font-size: 0.7rem;
        letter-spacing: 3px;
        margin-top: 0px;
    }
}

.close-btn {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-btn:hover {
    transform: scale(1.1);
    color: var(--gold-light);
}

/* ===== EDITABLE BAR ===== */
.editable-bar {
    display: grid;
    grid-template-columns: minmax(140px, 1.5fr) minmax(80px, 1fr) minmax(100px, 1fr);
    gap: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    font-size: 0.85rem;
}


.bar-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: var(--gold-opacity-15);
    border-right: 1px solid var(--gold-opacity-30);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bar-segment:last-child {
    border-right: none;
}

.bar-segment:hover {
    background: var(--gold-opacity-25);
}

.bar-segment:active {
    transform: scale(0.98);
}

/* Top bar container */
.top-bar-container {
    padding: 0;
    background: var(--dark-bg); /* Solid background for sticky */
    flex-shrink: 0;
    display: block;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--gold-opacity-30);
}



.bar-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: var(--gold-opacity-15);
    border: none;
    border-right: 1px solid var(--gold-opacity-30);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-white);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bar-segment:last-child {
    border-right: none;
}

.bar-segment[data-filled="false"] {
    opacity: 0.5;
    pointer-events: none;
    color: var(--text-gray-darker);
    font-style: italic;
}

.bar-segment:hover {
    background: var(--gold-opacity-25);
}

.bar-segment:active {
    background: var(--gold-opacity-30);
}
.footer-summary {
    background: var(--gold-opacity-05);
    border: 1px solid var(--gold-opacity-20);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.summary-title {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-summary-row {
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-summary-row:last-of-type {
    margin-bottom: 8px;
}

.footer-summary-label {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.footer-summary-value {
    color: var(--text-gray-dark);
    font-weight: 400;
    font-size: 0.85rem;
}

.footer-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--gold-opacity-20);
    margin-top: 4px;
}

.total-label {
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
}

.total-value {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}

.bar-divider {
    color: var(--gold-opacity-30);
    font-weight: 300;
}

/* ===== CONTENT ===== */
.widget-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Steps */
/* ===== STEP VIEWS - SCROLLABLE STACKING ===== */
/* VERSION: 2026-02-10-SCROLL-FIX-V3-SPACER */

.step-view {
    display: none;
}

.step-view[data-active="true"] {
    display: block;
    padding-bottom: 20px;
}

/* CRITICAL: Add spacer AFTER last visible step to create scroll space */
/* Using ::after instead of padding for better height control */
.step-view.is-last-visible::after {
    content: '';
    display: block;
    height: 60vh; /* 60% of viewport - allows steps to scroll fully to top on mobile */
}

.step-title {
    color: var(--text-white);
    font-size: 1.05rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    font-weight: 600;
}

.back-arrow {
    cursor: pointer;
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.2s;
}

.back-arrow:hover {
    transform: translateX(-3px);
}

.back-arrow:active {
    transform: translateX(-5px);
}

.step-subtitle {
    color: var(--text-gray-dark);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* Legend */
.legend {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

/* Homepage calendar legend */
.legend-home {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 5px;
    width: 100%;
    order: 10;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray-dark);
}

/* Homepage legend items - more styled */
.legend-home .legend-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

/* Homepage dots - smaller with glow */
.legend-home .dot {
    width: 12px;
    height: 12px;
    /* border-radius: 50%; */
}

.dot.green { background: #4cd184; }
.dot.yellow { background: #ffc107; }
.dot.red { background: #f44336; }

/* Homepage dots - with glow effect */
.legend-home .dot.green {
    background-color: #27ae60;
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.4);
}

.legend-home .dot.yellow {
    background-color: #f1c40f;
    box-shadow: 0 0 8px rgba(241, 196, 15, 0.4);
}

.legend-home .dot.red {
    background-color: #c0392b;
    box-shadow: 0 0 8px rgba(192, 57, 43, 0.4);
}
.dot.orange { background: #ffc107; }
.dot.red { background: #f44336; }

/* Dummy calendar */
.dummy-calendar {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-gray-darker);
}

.dummy-calendar p {
    margin-bottom: 20px;
}

.test-btn {
    background: var(--gold-opacity-20);
    color: var(--gold);
    border: 1px solid var(--gold-opacity-30);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.test-btn:hover {
    background: var(--gold-opacity-30);
}

/* Guests grid */
.guests-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.guest-btn {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.guest-btn:hover {
    background: var(--gold-opacity-10);
    border-color: var(--gold-opacity-30);
    transform: scale(1.05);
}

.guest-btn:active {
    transform: scale(0.95);
}

.guest-btn.selected {
    background: linear-gradient(135deg, var(--gold-opacity-15), var(--gold-opacity-25));
    border-color: var(--gold);
    color: var(--gold);
    font-weight: 700;
    position: relative;
    box-shadow: 0 4px 12px var(--gold-opacity-25);
}

.group-contact-link {
    display: block;
    text-align: center;
    color: var(--gold);
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 10px;
}

.group-contact-link:hover {
    text-decoration: underline;
}

/* Group contact box (similar to waitlist) */
.group-contact-box {
    margin-top: 15px;
}

.group-contact-content {
    background: var(--gold-opacity-05);
    border: 1px solid var(--gold-opacity-30);
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.group-contact-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 4px;
}

.group-contact-close:hover {
    background: var(--white-opacity-10);
    color: var(--text-white);
}

.group-contact-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 30px; /* Space for close button */
}

.group-contact-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.group-contact-text {
    font-size: 0.85rem;
    color: var(--text-gray-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.group-contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
}

.group-contact-input {
    width: 100%;
    padding: 10px 12px;
    background: var(--white-opacity-05);
    border: 1px solid var(--gold-opacity-30);
    border-radius: 6px;
    color: var(--text-white);
    font-size: 0.9rem;
}

.group-contact-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.group-contact-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.group-contact-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.group-contact-btn:hover:not(:disabled) {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.group-contact-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.group-contact-message {
    font-size: 0.85rem;
    text-align: center;
    min-height: 20px;
}

/* Tickets */
.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-card {
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.ticket-card:hover {
    background: var(--gold-opacity-05);
    border-color: var(--gold-opacity-30);
    transform: translateY(-2px);
}

.ticket-card:active {
    transform: translateY(0);
}

.ticket-card.selected {
    background: var(--gold-opacity-10);
    border-color: var(--gold);
    box-shadow: 0 4px 12px var(--gold-opacity-20);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ticket-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

.ticket-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
}

.ticket-description {
    color: var(--text-gray-dark);
    font-size: 0.85rem;
}

/* ===== ACCORDION MODE STYLES ===== */
/* When TICKET_DISPLAY_MODE = 'ACCORDION' in JS */

/* Description hidden by default in accordion mode */
.ticket-card .ticket-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

/* Description visible when expanded */
.ticket-card.expanded .ticket-description {
    max-height: 500px;
    opacity: 1;
    margin-top: 12px;
}

/* Style description content */
.ticket-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ticket-description li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.4;
}

.ticket-description li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ===== ERROR MESSAGES & RETRY ===== */
.error-message {
    text-align: center;
    padding: 40px 20px;
    background: var(--gold-opacity-03);
    border: 2px solid var(--gold-opacity-20);
    border-radius: 12px;
    margin: 20px 0;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.error-title {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.error-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gold);
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.retry-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--gold-opacity-30);
}

.retry-btn svg {
    animation: spin 2s linear infinite;
}

.retry-btn:hover svg {
    animation: spin 1s linear infinite;
}

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

/* Form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 0;
}

.form-grid input {
    margin-bottom: 0;
}

input {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--gold-opacity-05);
}

textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    margin-top: 12px;
    margin-bottom: 12px;
}

textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--gold-opacity-05);
}

.promo-link {
    display: inline-block;
    color: var(--gold);
    font-size: 0.9rem;
    text-decoration: none;
    margin: 15px 0 10px;
}

.promo-link:hover {
    text-decoration: underline;
}

.promo-link-inline {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
}

.promo-link-inline:hover {
    text-decoration: underline;
}

.promo-section {
    margin-bottom: 15px;
}

.promo-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.promo-input-group input {
    flex: 1;
    margin-bottom: 0;
}

.promo-apply-btn {
    background: var(--gold-opacity-20);
    color: var(--gold);
    border: 1px solid var(--gold-opacity-30);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.promo-apply-btn:hover {
    background: var(--gold-opacity-30);
}

.promo-message {
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 6px;
}

.promo-message.success {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.promo-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.footer-promo-display {
    font-size: 0.9rem;
    color: #27ae60;
    font-weight: 600;
    text-align: center;
    padding: 8px 0;
}

.trust-badge {
    color: #27ae60;
    font-size: 0.85rem;
}

/* ===== STICKY FOOTER ===== */
.sticky-footer {
    position: sticky;
    bottom: 0;
    background: linear-gradient(to top, var(--dark-bg) 0%, var(--dark-bg) 90%, transparent 100%);
    border-top: 2px solid var(--gold);
    padding: 16px 20px 20px;
    flex-shrink: 0;
}

.sticky-footer:empty {
    display: none;
}

#footerBarContainer:empty {
    display: none !important;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-opacity-30), transparent);
    margin: 12px 0;
}

.footer-total {
    min-height: 24px;
    text-align: center;
    margin-bottom: 8px;
}

.complete-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
}

.complete-btn.incomplete {
    background: linear-gradient(135deg, #555, var(--text-gray-darker));
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.complete-btn.incomplete:hover {
    transform: none;
}

.complete-btn.complete {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark-bg);
    box-shadow: 0 4px 12px var(--gold-opacity-30);
    animation: pulse-gold 2s infinite;
}

.complete-btn:hover {
    transform: translateY(-1px);
}

.complete-btn:active {
    transform: translateY(0);
}

@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 4px 12px var(--gold-opacity-30);
    }
    50% {
        box-shadow: 0 6px 20px var(--gold-opacity-60);
    }
}

.footer-message {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 10px;
    min-height: 20px;
}

.footer-message.error {
    color: #e74c3c;
}

.footer-message.success {
    color: #27ae60;
}

.footer-message.info {
    color: var(--text-gray-dark);
}

/* ===== SCROLLBAR ===== */
.widget-content::-webkit-scrollbar {
    width: 8px;
}

.widget-content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}

.widget-content::-webkit-scrollbar-thumb {
    background: var(--gold-opacity-30);
    border-radius: 4px;
}

.widget-content::-webkit-scrollbar-thumb:hover {
    background: var(--gold-opacity-50);
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
    position: fixed;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #e74c3c;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10001;
    max-width: 90%;
    text-align: center;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: #27ae60;
}

.toast.warning {
    background: #f39c12;
}

.toast.error {
    background: #e74c3c;
}

.toast.info {
    background: #3498db;
}

/* ===== SIDEBAR (≥768px only) ===== */
.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-title {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gold-opacity-20);
}

.sidebar-summary {
    margin-bottom: 16px;
}

.sidebar-summary-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--white-opacity-10);
    font-size: 0.9rem;
}

.sidebar-summary-row:last-of-type {
    border-bottom: none;
}

.sidebar-summary-icon {
    font-size: 1rem;
    flex-shrink: 0;
    width: 24px;
}

.sidebar-summary-text {
    flex: 1;
    color: var(--text-white);
    font-size: 0.9rem;
    line-height: 1.4;
}

.sidebar-summary-value {
    flex: 1;
    color: var(--text-white);
    font-size: 0.9rem;
    line-height: 1.4;
}

.sidebar-summary-price {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-left: auto;
}

.sidebar-promo {
    margin-bottom: 16px;
}

.promo-link-sidebar {
    display: inline-block;
    color: var(--gold);
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 12px;
}

.promo-link-sidebar:hover {
    text-decoration: underline;
}

.sidebar-promo-discount {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.2);
    border-radius: 6px;
    padding: 10px;
    margin: 10px 0 16px 0;
}

.sidebar-promo-applied .sidebar-summary-discount {
    color: #27ae60;
    font-weight: 600;
}

.sidebar-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 2px solid var(--gold-opacity-30);
    border-bottom: 2px solid var(--gold-opacity-30);
    margin-bottom: 16px;
}

.sidebar-total .total-label {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}

.sidebar-total .total-value {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.3rem;
}

.sidebar-trust {
    margin-top: 16px;
}

#sidebarCompleteBtn {
    margin-bottom: 16px;
}

/* ===== INTEGRATION STYLES ===== */
/* Styles for old widget components */

/* Calendar styles */
.calendar-box-style {
    position: relative;
    min-height: 300px;
}

.flatpickr-calendar {
    width: 100% !important;
    box-shadow: none !important;
}

.flatpickr-day.status-available {
    background: rgba(39, 174, 96, 0.2);
    border-color: #27ae60;
}

.flatpickr-day.status-limited {
    background: rgba(243, 156, 18, 0.2);
    border-color: #f39c12;
}

.flatpickr-day.status-soldout {
    background: rgba(231, 76, 60, 0.2);
    border-color: #e74c3c;
    color: var(--text-gray-dark);
    cursor: not-allowed;
}

.flatpickr-day.selected {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--text-white) !important;
}

/* Loader */
.loader-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.spinner {
    border: 3px solid var(--gold-opacity-30);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Feedback text */
.feedback-text {
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-gray-light);
}

.feedback-text:empty {
    margin: 0;
}

.info-box {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    padding: 12px;
    border-radius: 6px;
    color: #3498db;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Waitlist box */
.waitlist-box {
    background: var(--gold-opacity-05);
    border: 1px solid var(--gold-opacity-30);
    padding: 20px;
    border-radius: 8px;
}

.waitlist-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.waitlist-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.waitlist-text {
    font-size: 0.85rem;
    color: var(--text-gray-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
}

.waitlist-input {
    width: 100%;
    padding: 10px 12px;
    background: var(--white-opacity-05);
    border: 1px solid var(--gold-opacity-30);
    border-radius: 6px;
    color: var(--text-white);
    font-size: 0.9rem;
}

.waitlist-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.waitlist-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.waitlist-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.waitlist-btn:hover:not(:disabled) {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.waitlist-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.waitlist-message {
    font-size: 0.85rem;
    text-align: center;
    min-height: 20px;
}

/* Qty limit text */
.qty-limit-text {
    font-size: 0.75rem;
    color: var(--text-gray-darker);
    margin-bottom: 15px;
    text-align: left;
}

/* Status alert */
.booking-status-alert {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 12px 16px;
    margin: 16px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-status-alert.success {
    background: rgba(39, 174, 96, 0.1);
    border-color: rgba(39, 174, 96, 0.3);
    color: #27ae60;
}

.booking-status-alert .message-text {
    flex: 1;
}

.booking-status-alert .close-alert {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    padding: 0;
    margin-left: 10px;
}

/* Mobile only elements */
@media (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }
    
    /* Desktop: topbar fixed, content scrolls */
    .widget-left .top-bar-container {
        flex-shrink: 0;
    }
    
    .widget-left .widget-content {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

/* Recovery loader */
#global-recovery-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1000;
    background: rgba(10, 14, 20, 0.95);
    padding: 40px;
    border-radius: 12px;
}

/* Booking badges */
.booking-badges {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: nowrap; /* Always side by side */
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--white-opacity-05);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-gray-dark);
}

.badge-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--gold);
}

.badge-text {
    white-space: nowrap;
}

/* Ticket cards - new clickable style */
.ticket-card {
    background: linear-gradient(135deg, var(--gold-opacity-03), var(--gold-opacity-08));
    border: 1px solid var(--gold-opacity-20);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ticket-card:last-of-type {
    margin-bottom: 0;
}

.ticket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-opacity-50), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.ticket-card:hover::before {
    opacity: 1;
}

.ticket-card:hover {
    background: linear-gradient(135deg, var(--gold-opacity-08), rgba(197, 160, 89, 0.12));
    border-color: var(--gold-opacity-40);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.ticket-card.selected {
    background: linear-gradient(135deg, var(--gold-opacity-15), var(--gold-opacity-25));
    border-color: var(--gold);
    box-shadow: 0 8px 32px var(--gold-opacity-30);
    position: relative;
}

.ticket-card.selected::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ticket-header-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 0; /* No margin by default (collapsed state) */
}

/* Only add margin when description is visible */
.ticket-header-line:has(+ .ticket-description[style*="display: block"]),
.ticket-header-line:has(+ .ticket-description:not([style*="display: none"])) {
    margin-bottom: 12px;
}

.ticket-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-popular-badge {
    background: var(--gold);
    color: #000;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 6px;
    border-radius: 3px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 50px;
}

.ticket-popular-badge::before {
    content: 'MOST';
}

.ticket-popular-badge::after {
    content: 'POPULAR';
}

.ticket-price-inline {
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.ticket-price-inline .ticket-price {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: -0.5px;
}

.ticket-price-inline .pp {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
}

.ticket-description {
    color: var(--text-gray);
    line-height: 1.5;
    font-size: 0.85rem;
    margin-top: 12px;
    animation: slideDown 0.3s ease;
}

.ticket-description ul {
    margin: 4px 0;
    padding-left: 20px;
}

.ticket-description li {
    margin: 3px 0;
}

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

/* ===== FLATPICKR CUSTOM STYLING (from old widget) ===== */

.flatpickr-calendar {
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 340px;
  box-sizing: border-box !important;
  margin: 0 auto;
}

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after {
  display: none !important;
}

.flatpickr-months .flatpickr-month {
  background: transparent;
  color: var(--gold);
  fill: var(--gold);
  margin-bottom: 0 !important;
  overflow: visible !important;
  height: auto !important;
}

.flatpickr-current-month input.cur-year {
  color: var(--gold) !important;
  font-weight: 700;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: var(--gold) !important;
}

.flatpickr-current-month .numInputWrapper {
  width: auto !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp::after,
.numInputWrapper span.arrowUp::after,
.flatpickr-current-month .numInputWrapper span.arrowDown::after,
.numInputWrapper span.arrowDown::after {
  display: none !important;
}

.numInputWrapper span {
  opacity: 1 !important;
}

span.flatpickr-weekday {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 0.85rem;
}

.flatpickr-day {
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important; /* Subtle border */
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  width: calc(100% - 6px) !important;
  height: 40px !important;
  line-height: 40px !important;
  margin: 3px !important;
  max-width: none !important;
  transition: all 0.2s ease;
  color: #888 !important; /* Grijs voor normale dagen */
}

.flatpickr-day.flatpickr-disabled {
  color: #444 !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.03) !important; /* Even more subtle for disabled */
  cursor: default;
}

.flatpickr-day.status-available {
  background-color: rgba(76, 209, 132, 0.6) !important; /* Veel feller: 0.3 → 0.6 */
  border-color: #4cd184 !important; /* Volle kleur border */
  color: var(--text-white) !important; /* Wit voor contrast */
  font-weight: 700;
  box-shadow: 0 0 12px rgba(76, 209, 132, 0.4) !important;
}

.flatpickr-day.status-limited {
  background-color: rgba(255, 193, 7, 0.7) !important; /* Veel feller: 0.45 → 0.7 */
  border-color: #ffc107 !important; /* Volle kleur border */
  color: var(--text-white) !important; /* Wit voor contrast */
  font-weight: 700;
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.4) !important;
}

.flatpickr-day.status-soldout {
  background-color: rgba(244, 67, 54, 0.7) !important; /* Veel feller: 0.45 → 0.7 */
  border-color: #f44336 !important; /* Volle kleur border */
  color: var(--text-white) !important; /* Wit voor contrast */
  font-weight: 700;
  box-shadow: 0 0 12px rgba(244, 67, 54, 0.4) !important;
}

.flatpickr-day:hover {
  background: var(--gold-opacity-20) !important;
  border: 1px solid var(--gold-opacity-50) !important;
  cursor: pointer;
}

.flatpickr-day.selected {
  background: linear-gradient(135deg, var(--gold-opacity-30), var(--gold-opacity-50)) !important; /* Zachte gouden gloed */
  border: 2px solid var(--gold) !important; /* Felle gouden rand */
  position: relative;
  overflow: visible !important;
  font-weight: 700;
  z-index: 2;
  color: var(--text-white) !important; /* Fel wit voor geselecteerd */
  box-shadow: 0 0 15px var(--gold-opacity-60) !important; /* Gouden glow */
}

.flatpickr-day.selected::after {
  display: none;
}

/* Selected dates: gold border + soft glow of original color inside */
.flatpickr-day.selected.status-available {
  background: linear-gradient(135deg, rgba(76, 209, 132, 0.3), rgba(76, 209, 132, 0.5)) !important; /* Zachte groene gloed */
  border: 2px solid var(--gold) !important; /* Felle gouden rand */
  color: var(--text-white) !important; /* Fel wit voor geselecteerd */
  box-shadow: 0 0 15px var(--gold-opacity-60) !important; /* Gouden glow */
}

.flatpickr-day.selected.status-limited {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 193, 7, 0.5)) !important; /* Zachte gele gloed */
  border: 2px solid var(--gold) !important; /* Felle gouden rand */
  color: var(--text-white) !important; /* Fel wit voor geselecteerd */
  box-shadow: 0 0 15px var(--gold-opacity-60) !important; /* Gouden glow */
}

.flatpickr-day.selected.status-soldout {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.3), rgba(244, 67, 54, 0.5)) !important; /* Zachte rode gloed */
  border: 2px solid var(--gold) !important; /* Felle gouden rand */
  color: var(--text-white) !important; /* Fel wit voor geselecteerd */
  box-shadow: 0 0 15px var(--gold-opacity-60) !important; /* Gouden glow */
}


.flatpickr-days {
  padding-bottom: 10px;
  width: 100% !important;
}

.flatpickr-innerContainer {
  padding-bottom: 10px;
  width: 100% !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* FLATPICKR CUSTOM HEADER */
.flatpickr-months {
  display: flex !important;
  align-items: center !important;
  position: relative;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 340px !important; /* Match calendar width */
  margin: 0 auto !important; /* Center it */
  padding: 10px 8px !important; /* Add horizontal padding to align with calendar */
  background: transparent;
  min-height: 40px;
  justify-content: space-between !important;
  gap: 8px;
}

/* Previous arrow - LEFT */
.flatpickr-prev-month {
  order: 1;
  position: static !important;
  height: 28px !important;
  width: 28px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-opacity-30);
  border-radius: 4px;
  flex-shrink: 0;
  margin: 0 !important;
  transform: none !important;
}

/* TODAY button */
.flatpickr-today-btn {
  order: 2;
  font-family: "Montserrat", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  padding: 5px 8px;
  border: 1px solid var(--gold-opacity-30);
  border-radius: 4px;
  margin: 0 !important;
  white-space: nowrap;
  line-height: 1;
  height: 28px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: transparent;
}

.flatpickr-today-btn:hover {
  background: var(--gold);
  color: #000;
}

/* Month/Year display - CENTER */
.flatpickr-month {
  order: 3;
  flex-grow: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 28px !important;
}

.flatpickr-current-month {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px;
  height: 28px !important;
  padding: 0 !important;
}

/* Month dropdown - hide arrow, make it look like text */
.flatpickr-monthDropdown-months {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background: transparent !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  color: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: default !important;
}

/* Fallback for span.cur-month */
.flatpickr-current-month span.cur-month {
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  padding: 0;
  margin: 0;
}

.flatpickr-current-month input.cur-year {
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  border: none !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  width: 55px !important;
  color: #fff !important;
  background: transparent !important;
  cursor: default !important;
}

/* Hide year spinners */
.flatpickr-current-month .numInputWrapper span.arrowUp,
.flatpickr-current-month .numInputWrapper span.arrowDown {
  display: none !important;
}

.flatpickr-current-month input.cur-year::-webkit-outer-spin-button,
.flatpickr-current-month input.cur-year::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Next arrow - RIGHT */
.flatpickr-next-month {
  order: 4;
  position: static !important;
  height: 28px !important;
  width: 28px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-opacity-30);
  border-radius: 4px;
  flex-shrink: 0;
  margin: 0 !important;
  transform: none !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  width: 12px !important;
  height: 12px !important;
  fill: var(--gold) !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
  fill: #000 !important;
}

@media (max-width: 400px) {
  .flatpickr-today-btn {
    padding: 4px 6px;
    font-size: 0.6rem;
  }
}

/* Calendar container */
.calendar-box-style {
  position: relative;
  min-height: 300px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}


/* Fix Flatpickr calendar width - make it match header */
.flatpickr-rContainer {
  width: 100% !important;
}

.flatpickr-days {
  width: 100% !important;
}

.dayContainer {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
}


/* ===== MOBILE SUMMARY (in step 4) ===== */
.mobile-summary-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
    text-align: left;
}

.mobile-summary-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--white-opacity-10);
}

.mobile-summary-row:last-of-type {
    border-bottom: none;
}

.mobile-summary-icon {
    font-size: 1rem;
    flex-shrink: 0;
    width: 24px;
}

.mobile-summary-text {
    flex: 1;
    color: var(--text-white);
    font-size: 0.9rem;
    line-height: 1.4;
}

.mobile-summary-value {
    flex: 1;
    color: var(--text-white);
    font-size: 0.9rem;
    line-height: 1.4;
}

.mobile-summary-price {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-left: auto;
}

.mobile-summary-discount {
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-left: auto;
}

.mobile-promo-link {
    border-bottom: none;
    padding-bottom: 0;
}

.mobile-promo-applied {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.2);
    border-radius: 6px;
    padding: 10px;
    margin: 10px 0;
}

.mobile-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--gold-opacity-30);
}

.mobile-total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
}

.mobile-total-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}

.mobile-only {
    display: none !important;
}

@media (max-width: 767px) {
    .mobile-only {
        display: block !important;
    }
    
    .footer-summary {
        background: var(--gold-opacity-05);
        border: 1px solid var(--gold-opacity-30);
        border-radius: 8px;
        padding: 20px;
    }
}


/* Remove promo button */
.remove-promo-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-gray-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    margin-left: 8px;
    padding: 0;
    line-height: 1;
    transition: all 0.2s;
    vertical-align: middle;
}

.remove-promo-btn:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: var(--text-white);
}

/* Ensure discount is right-aligned */
.sidebar-summary-discount,
.mobile-summary-discount {
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-left: auto;
}


/* ===== INTL-TEL-INPUT DARK THEME ===== */

/* Country dropdown container */
.iti--container {
    z-index: 10000 !important;
}

/* Country list styling - dark theme */
.iti__country-list {
    background-color: #1a1f26 !important;
    border: 1px solid var(--gold) !important;
    color: var(--text-white) !important;
    box-shadow: 0 5px 15px var(--black-opacity-50) !important;
    max-height: 200px !important;
    width: 300px !important; /* Force width */
    max-width: 300px !important;
}

/* On small screens, use viewport width */
@media (max-width: 500px) {
    .iti__country-list {
        max-width: 90vw !important;
    }
}

/* On small screens, use viewport width */
@media (max-width: 500px) {
    .iti__country-list {
        max-width: 90vw !important;
    }
}

.iti__country {
    padding: 10px 15px !important;
    color: var(--text-white) !important;
    border-bottom: 1px solid var(--white-opacity-05) !important;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background-color: var(--gold-opacity-20) !important;
}

.iti__country-name {
    color: var(--text-white) !important;
}

.iti__dial-code {
    color: var(--gold) !important;
}

/* Search input in dropdown */
.iti__search-input {
    background: var(--white-opacity-05) !important;
    border: 1px solid var(--gold-opacity-30) !important;
    color: var(--text-white) !important;
    padding: 8px !important;
}

.iti__search-input::placeholder {
    color: var(--text-gray-dark) !important;
}

.iti__search-input:focus {
    border-color: var(--gold) !important;
    outline: none !important;
}

/* Flag container */
.iti__flag-container {
    padding: 0 !important;
}

.iti__selected-flag {
    padding: 0 8px 0 8px !important;
}


/* ===== FORM VALIDATION STATES ===== */

/* Valid input - subtle green border */
input.input-valid,
textarea.input-valid {
    border-color: rgba(39, 174, 96, 0.4) !important;
    background: rgba(39, 174, 96, 0.03) !important;
}

/* Invalid input - subtle red border */
input.input-invalid,
textarea.input-invalid {
    border-color: rgba(231, 76, 60, 0.4) !important;
    background: rgba(231, 76, 60, 0.03) !important;
}

/* Dial code styling - show it prominently */
.iti__selected-dial-code {
    color: var(--gold) !important;
    font-weight: 600 !important;
    margin-left: 4px !important;
}


/* ===== TRUST BADGE & TERMS (before button) ===== */

.trust-badge {
    text-align: center;
    color: #4caf50;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.trust-badge-sub {
    font-size: 0.75rem;
    color: #888;
    font-weight: 400;
    margin-top: 4px;
}

.terms-text {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-gray-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.terms-text a {
    color: #888;
    text-decoration: underline;
}

.terms-text a:hover {
    color: var(--gold);
}




/* ===== TOGGLE TICKET INFO BUTTON ===== */

.toggle-ticket-info-btn {
    width: 100%;
    max-width: none;
    margin: 0;
    display: block;
    padding: 8px 16px; /* Restored: 6px → 8px */
    background: var(--gold-opacity-08);
    border: none;
    color: var(--gold);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    line-height: 1.5;
}

.toggle-ticket-info-btn:hover {
    background: var(--gold-opacity-15);
    transform: translateY(-1px);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ticket-info-icon {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    margin-right: 8px;
    margin-bottom: 0 !important; /* Override external CSS */
    vertical-align: middle;
    line-height: 1;
}

.ticket-info-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--blue) !important; /* Force blue, override parent color */
    display: block;
}

/* Fullscreen ticket comparison overlay */
.ticket-comparison-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}

@media (min-width: 450px) {
    .ticket-comparison-overlay {
        padding: 20px;
    }
}

.comparison-modal {
    background: var(--dark-bg);
    border: 1px solid var(--gold-opacity-30);
    border-radius: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    position: relative;
    box-shadow: 0 8px 32px var(--black-opacity-50);
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

@media (min-width: 450px) {
    .comparison-modal {
        border-radius: 12px;
        max-width: 900px;
        max-height: 90vh;
        height: auto;
    }
}

.comparison-header {
    position: sticky;
    top: 0;
    background: var(--dark-bg);
    z-index: 10;
    padding: 5px;
    padding-top: 20px;
}

@media (min-width: 450px) {
    .comparison-header {
        padding: 20px 32px;
        padding-top: 30px;
    }
}

.header-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.header-table-row {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.header-col {
    display: table-cell;
    padding: 18px 12px;
    text-align: center;
    background: rgba(14, 20, 27, 0.6);
    border: 1px solid rgba(100, 100, 100, 0.3);
    position: relative;
}

.header-col:first-child {
    background: transparent;
    border: none;
}

.header-col-popular {
    background: rgba(14, 20, 27, 0.8);
    border: 2px solid var(--gold);
    border-top: none;
    padding-top: 30px;
}

.header-col-clickable {
    cursor: pointer;
    transition: all 0.2s;
}

.header-col-clickable:hover {
    background: var(--gold-opacity-15);
    transform: translateY(-2px);
}

.header-col-popular.header-col-clickable:hover {
    background: var(--gold-opacity-25);
}

.header-col-popular::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 2px;
    background: var(--gold);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 16px;
    border-radius: 0;
    white-space: nowrap;
    z-index: 1;
}

.ticket-col-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 6px;
}

@media (max-width: 600px) {
    .ticket-col-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 400px) {
    .ticket-col-title {
        font-size: 0.95rem;
    }
}

.ticket-col-price {
    font-size: 1rem;
    color: var(--text-white);
    font-weight: 400;
}

@media (max-width: 600px) {
    .ticket-col-price {
        font-size: 0.85rem;
    }
}

.ticket-col-price::before {
    content: '€';
}

.ticket-col-price::after {
    content: ' p.p.';
    font-size: 0.7em;
    opacity: 0.7;
}

.comparison-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 5px 5px 5px;
    line-height: 1.3;
}

@media (min-width: 450px) {
    .comparison-content {
        padding: 0 32px 32px 32px;
    }
}

.comparison-close {
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 4px;
    flex-shrink: 0;
}

.comparison-close:hover {
    background: var(--gold-opacity-10);
    transform: scale(1.1);
}

.comparison-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
    padding-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .comparison-title {
        font-size: 1.2rem;
    }
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    table-layout: fixed;
}

@media (max-width: 600px) {
    .comparison-table {
        font-size: 0.75rem;
    }
}

.comparison-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--white-opacity-05);
    text-align: center;
    color: var(--text-gray);
}

.comparison-table td:first-child {
    text-align: left;
    padding-left: 8px;
    color: var(--text-gray-light);
    font-size: 0.85rem;
}

.comparison-table tbody tr:hover {
    background: var(--gold-opacity-03);
}

.comparison-table tbody tr:hover td:first-child {
    color: var(--gold);
}

.feature-check {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 700;
}

.feature-none {
    color: var(--text-gray-darker);
    font-size: 1rem;
}

.ticket-table-note {
    margin-top: 12px;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid var(--blue);
    font-size: 0.85rem;
    color: var(--text-gray-light);
    font-style: italic;
}

.comparison-table tfoot .button-row td {
    padding: 16px 8px;
    border-bottom: none;
    background: transparent;
}

.table-select-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 8px;
    width: 100%;
    background: transparent;
    border: 2px solid var(--gold-opacity-50);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.table-select-btn:hover {
    background: var(--gold-opacity-10);
    border-color: var(--gold);
}

.table-select-btn.popular {
    background: var(--gold);
    border-color: var(--gold);
}

.table-select-btn.popular:hover {
    background: var(--gold-lighter);
}

.table-select-btn .btn-action {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-select-btn.popular .btn-action {
    color: #000;
}

.table-select-btn .btn-label {
    font-size: 0.75rem;
    color: var(--text-gray-dark);
    font-weight: 400;
}

.table-select-btn.popular .btn-label {
    color: var(--black-opacity-70);
}

.comparison-close-bottom {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: var(--gold-opacity-10);
    border: 2px solid var(--gold-opacity-30);
    border-radius: 8px;
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.comparison-close-bottom:hover {
    background: var(--gold-opacity-20);
    border-color: var(--gold);
}

@media (max-width: 600px) {
    .comparison-table {
        font-size: 0.75rem;
    }
    
    .table-select-btn {
        padding: 10px 4px;
    }
    
    .table-select-btn .btn-action {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}



/* ===== YOUR SELECTION (new compact design) ===== */

.selection-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: none;
}

.selection-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-gray);
    flex-wrap: wrap;
}

.selection-row:last-of-type {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gold-opacity-20);
}

.selection-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.selection-text {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-gray);
}

.selection-time {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.selection-price {
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-left: auto;
}

.selection-promo-link {
    margin-top: 8px;
    font-family: 'Montserrat', sans-serif;
}

.selection-promo-link a {
    color: var(--gold);
    text-decoration: underline;
    font-size: 0.8rem;
}

.selection-promo-link a:hover {
    color: var(--gold-light);
}

.selection-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gold-opacity-20);
}

.selection-total .total-label {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
}

.selection-total .total-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
}


/* ===== FONT ASSIGNMENTS ===== */

h1, h2, h3, h4, h5, h6,
.step-title,
/* Font family is inherited from website CSS */
/*.widget-header h1 .nav-logo,
.widget-header h1 .nav-slogan {
    font-family: 'Playfair Display', serif;
}*/

/* Body text uses Montserrat (already set in body) */


/* ===== FORM INPUT ALIGNMENT ===== */

/* Make sure phone input wrapper is full width */
#phone-wrapper {
    width: 100%;
    margin-bottom: 0;
}

/* Force intl-tel-input to be full width */
#phone-wrapper .iti {
    width: 100% !important;
    display: block !important;
}


/* ===== PROMO INPUT WITH CLOSE BUTTON ===== */

.promo-input-wrapper {
    position: relative;
    flex: 1;
}

.promo-input-wrapper input {
    padding-right: 35px !important;
}

.promo-close-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-gray-dark);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.promo-close-btn:hover {
    color: var(--text-white);
}

/* ===== INPUT ICONS ===== */

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-left: 40px !important;
}

.input-icon {
    position: absolute;
    left: 10px !important;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

/* All SVG icons */
.input-icon svg {
    color: var(--gold);
}

.user-icon svg {
    width: 16px;
    height: 16px;
}

.email-icon svg {
    width: 18px;
    height: 14px;
}




/* ===== DIETARY SECTION (like promo) ===== */

.dietary-section {
    margin-top: 12px;
    margin-bottom: 12px;
}

.dietary-link {
    display: inline-block;
    color: var(--gold);
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
}

.dietary-link:hover {
    color: var(--gold-light);
}

#dietaryTextarea {
    margin-top: 8px;
}

#dietaryTextarea textarea {
    margin-top: 0;
}

.dietary-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--gold);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    z-index: 1;
    transition: all 0.2s ease;
}

.dietary-close-btn:hover {
    background: rgba(197, 160, 89, 0.2);
    border-color: var(--gold);
}


/* Fix: margin on wrapper instead of input to prevent alignment issues */
.input-with-icon {
    margin-bottom: 12px;
}

.input-with-icon input {
    margin-bottom: 0 !important;
}


/* ===== TOP BAR ARROWS (Chevron style) ===== */

.bar-edit {
    display: inline-block;
    margin-left: 8px;
    opacity: 0.5;
    transition: opacity 0.2s;
    font-size: 0.85em;
}

.bar-segment:hover .bar-edit {
    opacity: 1;
}

.bar-checkmark {
    color: var(--gold);
    font-weight: bold;
    margin-right: 6px;
    font-size: 1em;
}

.bar-segment.has-data {
    color: var(--text-white); /* Filled segments white text */
    font-weight: 500;
    background: var(--gold-opacity-15); /* Selected state background */
}

/* Flash animation when segment is updated */
@keyframes flashBar {
    0% {
        background: var(--gold-opacity-15); /* Start at selected state */
    }
    30% {
        background: var(--gold-opacity-40); /* Bright flash */
        box-shadow: 0 0 20px var(--gold-opacity-50);
    }
    100% {
        background: var(--gold-opacity-15); /* End at selected state */
    }
}

.bar-segment.flash {
    animation: flashBar 1s ease-out;
}



/* ===== TICKET TOGGLE CONTAINER ===== */

#ticket-toggle-container {
    margin-bottom: 15px;
}


/* ===== WIDGET FOOTER ===== */

.widget-footer {
    padding: 8px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--gold-opacity-20);
    margin-top: auto;
    flex-shrink: 0;
}

.footer-compact {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.2;
}

/* Old footer styles - kept for compatibility */
.footer-links {
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.footer-separator {
    color: var(--gold-opacity-40);
    margin: 0 10px;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-gray-dark);
}

/* On mobile, make footer even more compact */
@media (max-width: 767px) {
    .widget-footer {
        padding: 6px 15px;
        margin-top: 20px;
    }
    
    .footer-compact {
        font-size: 0.65rem;
    }
    
    .footer-links {
        font-size: 0.8rem;
    }
    
    .footer-separator {
        margin: 0 6px;
    }
}


/* Position footer at bottom spanning full width on desktop 2-column layout */
@media (min-width: 768px) {
    .widget-footer-desktop {
        display: block;
        grid-column: 1 / -1; /* Span both columns */
        margin-top: 0; /* Remove auto margin on desktop - fixed at bottom */
    }
    
    .widget-footer-mobile {
        display: none; /* Hide mobile footer on desktop */
    }
}

/* On mobile/tablet (single column), footer uses margin-top auto for sticky */
@media (max-width: 767px) {
    .widget-footer-mobile {
        display: block;
        margin-top: auto; /* Pushes to bottom when content is short */
    }
    
    .widget-footer-desktop {
        display: none; /* Hide desktop footer on mobile */
    }
}


/* Ensure mobile footer works with sticky bottom behavior */
@media (max-width: 767px) {
    /* Widget-inner is flex column, footer is last child */
    .widget-inner {
        display: flex;
        flex-direction: column;
    }
    
    /* Widget-left takes available space and can scroll */
    .widget-left {
        flex: 1;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
}


/* CRITICAL: Enable scrolling on mobile so footer can scroll into view */
@media (max-width: 767px) {
    .widget-left {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
}


/* Steps wrapper allows footer to use margin-top: auto */
.steps-wrapper {
    flex: 1;
    min-height: 0;
}


/* ===== MOBILE FOOTER - CLEAN COMPLETE SOLUTION ===== */

@media (max-width: 767px) {
    /* Widget-left is flex column container - no scroll here */
    .widget-left {
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        height: 100%;
    }
    
    /* Top bar takes its natural height */
    .top-bar-container {
        flex-shrink: 0;
    }
    
    /* Widget-content takes remaining space and scrolls */
    .widget-content {
        flex: 1 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important; /* Critical for flex scrolling */
    }
    
    /* Steps wrapper grows to fill available space */
    .steps-wrapper {
        flex: 1 0 auto;
    }
    
    /* Footer sticks to bottom with margin-top auto */
    .widget-footer-mobile {
        display: block !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
    }
    
    /* Hide desktop footer */
    .widget-footer-desktop {
        display: none !important;
    }
    
    /* Sticky footer (button bar) */
    .sticky-footer {
        flex-shrink: 0;
    }
}


/* Top bar segments without data are not clickable */
.bar-segment:not(:has(.bar-edit)) {
    cursor: default;
    opacity: 0.6;
}

.bar-segment:not(:has(.bar-edit)):hover {
    background: var(--gold-opacity-15); /* No hover effect when empty */
}


/* Footer powered by line */
.footer-powered {
    font-size: 0.7rem;
    color: var(--text-gray-darker);
    margin-top: 8px;
}


/* Disabled guest buttons */
.guest-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--white-opacity-05);
}

.guest-btn:disabled:hover {
    background: var(--white-opacity-05);
    transform: none;
}


/* Error box for guest selection */
.error-box {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.5);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0;
    color: #f44336;
    font-size: 0.9rem;
    text-align: center;
}