/**
 * Booking Overlay Styles
 * Fullscreen overlay for booking form
 */

/* Overlay Container */
.booking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background-color: hsl(204deg 49% 22% / 0.92);
        backdrop-filter: blur(3px);
}

.booking-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Container */
.booking-overlay-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Close Button */
.booking-overlay-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.booking-overlay-close:hover {
    background-color: #fff;
    border-color: #45abaf;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.booking-overlay-close svg {
    width: 24px;
    height: 24px;
    color: #2d3748;
}

.booking-overlay-close:hover svg {
    color: #45abaf;
}

/* Content */
.booking-overlay-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6rem 2rem 2rem 2rem;
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar styling */
.booking-overlay-content::-webkit-scrollbar {
    width: 8px;
}

.booking-overlay-content::-webkit-scrollbar-track {
    background:  hsl(195, 39%, 75%);
    border-radius: 10px;
}

.booking-overlay-content::-webkit-scrollbar-thumb {
    background: hsl(195, 43%, 30%);
    border-radius: 10px;
}

.booking-overlay-content::-webkit-scrollbar-thumb:hover {
    background: hsl(195, 43%, 40%);
}

/* Booking form adjustments in overlay */
.booking-overlay .js-booking-form {
    margin: 0;
  width: 740px;
    max-width: 800px;
}

.booking-overlay .booking-form-header {
    margin-bottom: 1rem;
    padding-top: 0;
        font-size: 2.2rem !important;
    line-height: 1.1;
    text-wrap-style: balance;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 940px) {

.booking-overlay .js-booking-form {
    margin: 0;
  width: 100%;
   max-width: 100%;
}
}

/* Responsive Design */
@media (max-width: 768px) {

    .booking-overlay .booking-form-header {
        font-size: 2rem !important;
}
.booking-overlay-content::-webkit-scrollbar {
    width: 4px;
}
.booking-overlay .js-booking-form {
   border-radius: 0;
}



      
    .booking-overlay-close {
        padding: 4px;
        top: 0.65rem;
        right: 0.65rem;
      width: 30px;
        height: 30px;
            box-shadow: none!important;

    }
       .booking-overlay-close svg {
        width: 20px;
        height: 20px;
    }
    .booking-overlay-content {
        padding: 0;
    }
}

