/* Custom Styles extracted from inline CSS */

.date-box {
    display: none;
    z-index: 999;
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 800px;
    left: 50%;
    transform: translateX(-50%);
}

#demo17 {
    width: 100%;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
}

.brand-promise-section {
    background-image: url('../uploads/cms/699dff4981ed5.png') !important;
}

.newsletter-section {
    background-image: url('../uploads/cms/6945944218438.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#newsletter-message {
    margin-top: 15px;
    display: none;
}

.cta {
    background-image: url(../uploads/cms/6672deeb0e55b.jpg);
}

.property-datebox {
    display: none;
    z-index: 9999;
    position: relative;
    width: 100%;
}

.popup-flex {
    display: flex;
    gap: 10px;
    max-width: 250px;
}

.popup-img {
    width: 35px;
    border-radius: 4px;
}


/* ── Guest Popup Styling ── */
#guestsss {
    display: none;
    position: absolute;
    z-index: 9999 !important;
    background: #ffffff !important;
    box-shadow: 0px 10px 35px rgba(0, 0, 0, 0.2) !important;
    padding: 15px 15px 10px 15px !important;
    border-radius: 12px !important;
    width: auto !important;
    max-width: 680px !important;
    left: 0 !important;
    top: calc(100% + 10px) !important;
    border: 1px solid #cbd5e1 !important;
    overflow: hidden;
}

/* Adjustments for larger screens (Desktop) */
@media (min-width: 768px) {
    #guestsss {
        right: 0 !important;
        left: auto !important;
        transform: none !important;
    }
    /* Ensure datepicker appears above other elements */
    #guestsss .datepicker {
        z-index: 10000 !important;
    }
}

/* Mobile view adjustments for date-box and guestsss */
@media (max-width: 767px) {
    section.get-quote .date-box,
    .date-box {
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    #guestsss {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 94vw !important;
        max-width: 94vw !important;
        max-height: 85vh;
        overflow-y: auto;
        padding: 12px !important;
        z-index: 100000000 !important;
    }
    #guestsss .datepicker {
        width: 100% !important;
    }
    /* Stack months vertically on mobile */
    #guestsss .datepicker__months,
    #guestsss .datepicker__month-wrapper {
        flex-direction: column !important;
        display: flex !important;
    }
    #guestsss .datepicker__month {
        width: 100% !important;
        min-width: unset !important;
    }
}
