/* Hotelmate Booking Modal */
#rcs-booking-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
}

#rcs-booking-modal.rcs-open {
    display: flex;
}

#rcs-booking-modal .rcs-modal-inner {
    position: relative;
    width: 95%;
    height: 90vh;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

#rcs-booking-modal .rcs-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #1a1a1a;
    flex-shrink: 0;
}

#rcs-booking-modal .rcs-modal-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    font-family: sans-serif;
}

#rcs-booking-modal .rcs-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.8;
    transition: opacity 0.15s;
}

#rcs-booking-modal .rcs-modal-close:hover {
    opacity: 1;
}

#rcs-booking-modal .rcs-modal-loading {
    position: absolute;
    inset: 52px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    font-family: sans-serif;
    color: #555;
    font-size: 14px;
    gap: 10px;
    z-index: 1;
    transition: opacity 0.2s;
}

#rcs-booking-modal .rcs-modal-loading.rcs-hidden {
    opacity: 0;
    pointer-events: none;
}

#rcs-booking-modal .rcs-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #ccc;
    border-top-color: #555;
    border-radius: 50%;
    animation: rcs-spin 0.7s linear infinite;
}

@keyframes rcs-spin {
    to { transform: rotate(360deg); }
}

#rcs-booking-modal iframe {
    flex: 1;
    width: 100%;
    border: none;
    display: block;
}

/* Prevent background scroll when modal is open */
body.rcs-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    #rcs-booking-modal .rcs-modal-inner {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}
