/* =========================================
   Booking Page: Booking-specific Styles
   (Glass card layout is in glass-card.css)
   ========================================= */

/* Wider card for the booking form */
.booking-form-layout .glass-card {
    width: 527px !important;
}

/* =========================================
   Booking: Mobile Layout (full-bleed scroll-reveal)
   ========================================= */

@media (max-width: 768px) {
    /* Override glass-page flex */
    .glass-page.booking-form-layout {
        display: block;
        position: relative;
        min-height: auto;
        padding: 0;
    }

    /* Background becomes a static 100vh hero block */
    .booking-form-layout .glass-bg {
        position: relative;
        inset: unset;
        height: 100vh;
        height: 100svh;
        will-change: auto;
        z-index: 0;
    }

    .booking-form-layout .glass-bg-image {
        height: 100%;
    }

    .booking-form-layout .glass-bg-overlay {
        height: 100%;
    }

    /* Scroll hint on the image (no hero text on this page) */
    .booking-form-layout .glass-bg::after {
        content: '↓';
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(238, 226, 200, 0.55);
        font-size: 1.4rem;
        animation: booking-scroll-hint 2s ease-in-out infinite;
        z-index: 1;
    }

    @keyframes booking-scroll-hint {
        0%, 100% { opacity: 0.55; transform: translateX(-50%) translateY(0); }
        50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
    }

    /* Form card: full width below the image, no height cap */
    .booking-form-layout .glass-card {
        width: calc(100% - 2rem) !important;
        max-height: none !important;
        margin: 2rem auto 3rem;
    }
}

.booking-security-question {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    font-style: italic;
    line-height: 1.4;
}

.booking-char-count {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: right;
    margin-top: 0.25rem;
    opacity: 0.7;
}

.booking-travel-section {
    /* Visible by default for mockup */
}

/* Validation errors — hide when valid */
.booking-validation-errors.validation-summary-valid {
    display: none;
}

.booking-validation-errors {
    list-style: none;
    padding: 1rem 1.25rem;
    margin: 0 0 1.5rem;
    background: rgba(180, 60, 60, 0.1);
    border: 1px solid rgba(180, 60, 60, 0.3);
    border-radius: 8px;
    color: #e8a0a0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.booking-validation-errors li {
    padding: 0.15rem 0;
}

/* Policy accordion */
.booking-policy-accordion {
    border: 1px solid rgba(238, 226, 200, 0.12);
    border-radius: 0.5rem;
    overflow: hidden;
}

.booking-policy-toggle {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent);
    cursor: pointer;
    list-style: none;
}

.booking-policy-toggle::-webkit-details-marker {
    display: none;
}

.booking-policy-toggle::before {
    content: '+ ';
    font-weight: 300;
}

.booking-policy-accordion[open] .booking-policy-toggle::before {
    content: '− ';
}

.booking-policy-content {
    padding: 0 1rem 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.booking-policy-content p {
    margin: 0 0 0.75rem;
}

.booking-policy-content p:last-child {
    margin-bottom: 0;
}

/* Success message */
.booking-success-message {
    padding: 1rem 1.25rem;
    margin: 0 0 1.5rem;
    background: rgba(174, 107, 44, 0.15);
    border: 1px solid rgba(174, 107, 44, 0.4);
    border-radius: 8px;
    color: var(--color-accent, #ae6b2c);
    font-size: 1rem;
    line-height: 1.5;
}
