/* ========================================
   BOOKING MODAL — global component
======================================== */
.booking-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(20, 15, 40, 0.72);
    backdrop-filter: blur(4px);
    overflow-y: auto;
    padding: 40px 20px;
    align-items: flex-start;
    justify-content: center;
}

.booking-modal-overlay.active {
    display: flex;
}

.booking-modal-box {
    background: linear-gradient(135deg, #1a1a50 0%, #2d1a3d 100%);
    border-radius: 18px;
    padding: 36px 32px 36px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    animation: modalSlideIn 0.25s ease;
    margin-top: auto;
    margin-bottom: auto;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-28px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.booking-modal-box h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.booking-modal-box h3 i {
    color: #02aa31;
}

.booking-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.booking-modal-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.booking-modal-box .form-group {
    margin-bottom: 12px;
}

.booking-modal-box .form-group input,
.booking-modal-box .form-group select {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border 0.2s;
}

.booking-modal-box .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.booking-modal-box .form-group input:focus,
.booking-modal-box .form-group select:focus {
    border-color: #02aa31;
}

.booking-modal-box .form-group select option {
    background: #1a1a50;
    color: #fff;
}

.booking-modal-box .btn-book-now {
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: var(--secondary);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.booking-modal-box .btn-book-now:hover {
    background: var(--primary-dark);
}

/* Custom scrollable select (cs-*) inside modal */
.booking-modal-box .cs-trigger {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: border 0.2s;
    user-select: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.booking-modal-box .cs-trigger::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    opacity: 0.5;
}

.booking-modal-box .cs-trigger.selected {
    color: #fff;
}

.booking-modal-box .cs-trigger:hover {
    border-color: #02aa31;
}

.booking-modal-box .cs-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #1a1a50;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    z-index: 10001;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.booking-modal-box .cs-dropdown.open {
    display: block;
}

.booking-modal-box .cs-dropdown.open-up {
    top: auto;
    bottom: calc(100% + 4px);
}

.booking-modal-box .cs-search {
    width: 100%;
    padding: 9px 12px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.booking-modal-box .cs-search::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.booking-modal-box .cs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 180px;
    overflow-y: auto;
}

.booking-modal-box .cs-list li {
    padding: 9px 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s;
}

.booking-modal-box .cs-list li:hover {
    background: rgba(2, 170, 49, 0.18);
    color: #fff;
}

.booking-modal-box .cs-empty {
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.88rem;
    cursor: default;
}

@media (max-width: 480px) {
    .booking-modal-box {
        margin: 11px;
        padding: 20px 13px 15px;
    }
}