/* ---- PRENOTA STYLES ---- */

/* ── Booking Page ──────────────────────────────── */
.booking-page {
    display: flex;
    min-height: 100vh;
}

.booking-left {
    width: 45%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px;
    color: var(--white);
}

.booking-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1));
}

.booking-left * {
    position: relative;
    z-index: 1;
}

.booking-left .section-label {
    color: var(--gold-light);
}

.booking-left h1 {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.booking-left p {
    font-size: 0.95rem;
    opacity: 0.85;
}

.booking-right {
    width: 55%;
    margin-left: 45%;
    min-height: 100vh;
    background: var(--ivory);
    padding: 48px 60px;
    padding-top: calc(72px + 48px); /* Navbar height + normal padding */
    display: flex;
    flex-direction: column;
}

/* Progress bar */
.booking-progress {
    margin-bottom: 32px;
}

.booking-step-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.booking-step-title {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    margin-bottom: 8px;
}

.progress-bar-track {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.booking-percent {
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: right;
    margin-top: 4px;
}

/* ── Booking Footer ────────────────────────────── */
.booking-footer {
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-light);
}


/* -------------------------------------- */

@media (max-width: 991px) {
    /* ── Booking responsive ── */
    .booking-page {
        flex-direction: column;
    }

    /* Fix 4: Hide the left image panel on mobile to gain vertical space */
    .booking-left {
        display: none;
    }

    .booking-right {
        width: 100%;
        margin-left: 0;
        padding: 40px 24px;
        padding-top: 110px; /* High enough to clear fixed navbar */
        min-height: 100vh;
    }

    .timeslots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Fix 5: Prevent booking action buttons from being clipped on small screens */
@media (max-width: 480px) {
    .booking-right {
        padding: 32px 20px;
        padding-top: 110px; /* High enough to clear fixed navbar */
    }

    .booking-actions {
        flex-direction: column;
        gap: 10px;
    }

    .booking-actions .btn {
        width: 100%;
        flex: none;
        padding: 16px 20px;
        font-size: 0.85rem;
    }
}

/* -------------------------------------- */
