/*
 * Details page stylesheet entry point.
 * Keeps a single CSS include for details routes while preserving
 * existing file boundaries for low-risk maintenance.
 */

/* Icon set used by details page UI elements */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");

/* Booking and pricing widgets */
@import url("booking-engine.css");
@import url("beds24-widget.css");
@import url("airbnb-calendar.css");

/* Core details page styling */
@import url("details_styles.css");
@import url("details-fix.css");
@import url("details-responsive.css");

/* Supporting modules used on details page */
@import url("gallery-fix.css");
@import url("collapsible-sections.css");

/* -------------------------------------------------------------------------- */
/* Inline styles migrated from app/views/details.php                          */
/* -------------------------------------------------------------------------- */

/* Gallery slider overlays and media fitting */
.slider_grid_part { position: relative; }
.middle_slider { position: relative; }
.sliderleft_arrow, .sliderright_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
}
.sliderleft_arrow { left: 8px; }
.sliderright_arrow { right: 8px; }
.middle_slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f7;
    min-height: 50vh;
    max-height: 80vh;
    overflow: hidden;
}
.middle_slider .sliderimage {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    transition: opacity 250ms ease, transform 300ms ease;
    will-change: opacity, transform;
    image-rendering: auto;
}
.gallery_main_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mySlides { display: flex; align-items: center; justify-content: center; background:#000; }
.mySlides picture, .mySlides img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}
.caption-container #caption,
.popup_footer { color: #015ca5 !important; }

/* Flatpickr/widget placement and sizing */
.booking-widget {
    position: relative;
    overflow: visible !important;
}
.booking-widget .fm-control,
.booking-widget select,
.booking-widget input[type="text"],
.booking-widget input[type="number"] {
    height: 42px;
    line-height: 42px;
}
.booking-widget .fm-field-date { position: relative; }
.flatpickr-calendar {
    z-index: 9999 !important;
    position: absolute !important;
}
.flatpickr-input {
    position: relative;
}
@media (max-width: 768px) {
    .flatpickr-calendar {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        max-width: calc(100vw - 20px);
    }
    .flatpickr-calendar.arrowTop {
        margin-top: 10px;
    }
}

/* Amenities section layout */
.amenities-private-grid {
    column-count: 1;
    column-gap: 22px;
}
@media (min-width: 768px) {
    .amenities-private-grid {
        column-count: 2;
    }
}
@media (min-width: 992px) {
    .amenities-private-grid {
        column-count: 3;
    }
}
.private-amenity-block {
    break-inside: avoid;
    margin-bottom: 18px;
}
.private-amenity-title {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.private-amenity-title .title-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2c91ce;
}
.private-amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    margin-bottom: 6px;
}
.private-amenity-item i {
    font-size: 12px;
    color: #2077ba;
}
.private-amenity-empty {
    font-size: 12px;
}

/* Modern horizontal room cards */
.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px 0;
}
.modern-room-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #eef2f7;
    display: flex;
    flex-direction: row;
}
.modern-room-card:hover {
    box-shadow: 0 6px 24px rgba(44, 145, 206, 0.12);
    border-color: #2c91ce;
}
.modern-room-card .room-image-wrapper {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 220px;
    min-height: 160px;
}
.modern-room-card .room-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.modern-room-card:hover .room-image {
    transform: scale(1.05);
}
.modern-room-card .room-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #2c91ce 0%, #1a6fa3 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(44, 145, 206, 0.3);
}
.modern-room-card .room-content {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}
.modern-room-card .room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 10px;
}
.modern-room-card .room-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
    line-height: 1.3;
}
.modern-room-card .room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}
.modern-room-card .room-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
    font-size: 1.15rem;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 15px;
}
.modern-room-card .room-feature i {
    color: #2c91ce;
    font-size: 1.15rem;
}
.modern-room-card .room-description {
    color: #666;
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.modern-room-card .room-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 20px;
    border-left: 1px solid #eef2f7;
    flex-shrink: 0;
}
.modern-room-card .room-size {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #888;
    font-size: 0.75rem;
    min-width: 50px;
}
.modern-room-card .room-size i {
    color: #2c91ce;
    font-size: 1rem;
}
.modern-room-card .room-size span {
    font-weight: 600;
    color: #555;
}
.modern-room-card .btn-view-room {
    background: #2c91ce;
    color: #fff !important;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    margin-right: 16px;
}
.modern-room-card .btn-view-room:hover {
    background: #1a6fa3;
    box-shadow: 0 4px 12px rgba(44, 145, 206, 0.35);
}
.modern-room-card .btn-view-room i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}
.modern-room-card .btn-view-room:hover i {
    transform: translateX(3px);
}
@media (max-width: 768px) {
    .modern-room-card {
        flex-direction: column;
    }
    .modern-room-card .room-image-wrapper {
        width: 100%;
        height: 180px;
        min-height: auto;
    }
    .modern-room-card .room-actions {
        border-left: none;
        border-top: 1px solid #eef2f7;
        padding: 12px 16px;
        justify-content: space-between;
    }
    .modern-room-card .room-size {
        flex-direction: row;
        gap: 6px;
    }
    .modern-room-card .btn-view-room {
        margin-right: 0;
    }
}

/* Gallery modal base */
.gallery {
    position: relative;
    margin: 0;
    padding: 0;
}
#myModal.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}
.gallery div, .gallery span, .gallery p {
    margin-top: 0;
    margin-bottom: 0;
}
body.gallery-open #mainHeader,
body.gallery-open #colophon,
body.gallery-open #pmw,
body.gallery-open #middleContent,
body.gallery-open #fwr,
body.gallery-open .master_header {
    display: none !important;
}

/* Map modal sizing and stacking */
#loginmodal300 .modal-dialog {
    max-width: 95vw;
}
#loginmodal300 .modal-content {
    height: 90vh;
    display: flex;
    flex-direction: column;
}
#loginmodal300 .modal-body {
    flex: 1 1 auto;
    padding: 0 !important;
    overflow: hidden;
}
#loginmodal300 .modal-body iframe,
#loginmodal300 .modal-body .map_modal {
    width: 100% !important;
    height: 100% !important;
    min-height: 80vh !important;
}
#mapModal {
    z-index: 9999 !important;
}
.modal-backdrop {
    z-index: 9998 !important;
}

/* Details page responsive refinements and offer section */
#middleContent .widget-area-sidebar {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
.property-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.property-title-row .entry-title {
    margin: 0;
}
.property-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #cfe3f4;
    background: #f5fafe;
    color: #205e8c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    vertical-align: middle;
}
.property-type-badge i {
    color: #2077ba;
}
.property-type-label { font-weight: 600; }
.property-type-value { font-weight: 700; }
.property-title-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: #2077ba;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 0;
    cursor: pointer;
    white-space: nowrap;
}
.property-title-map-link:hover,
.property-title-map-link:focus {
    color: #2c91ce;
    text-decoration: underline;
    outline: none;
}
@media (max-width: 1199.98px) {
    #middleContent .col-lg-8,
    #middleContent .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    #middleContent .col-12.col-lg-4 {
        margin-top: 20px;
    }
    #middleContent .widget-area-sidebar {
        align-self: flex-start;
    }
    .entry-title {
        font-size: 24px !important;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    .property-type-badge {
        margin-left: 0;
        margin-top: 10px;
    }
    .property-title-row {
        align-items: flex-start;
    }
    .panel-wrapper { margin-bottom: 15px; }
    .panel-title { font-size: 16px; padding: 12px 15px; }
    .listing_detail { padding: 10px 0; font-size: 14px; }
    .room-card { margin-bottom: 15px; }
    .gallery_container .prev,
    .gallery_container .next {
        font-size: 24px;
        padding: 15px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        border: none;
        min-height: 60px;
        min-width: 60px;
    }
    .room-details { padding: 15px; }
    .contact-info { font-size: 14px; line-height: 1.5; }
    .amenities-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .amenity-item {
        flex: 1 1 calc(50% - 5px);
        min-width: 150px;
        padding: 8px;
        font-size: 13px;
    }
}
@media (max-width: 575.98px) {
    .entry-title {
        font-size: 20px !important;
    }
    .property-title-map-link {
        width: 100%;
        justify-content: flex-start;
    }
    .gallery_container img {
        max-width: 100%;
        height: auto;
    }
}
#loginmodal300 {
    z-index: 1055 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
#loginmodal300 .modal-dialog {
    z-index: 1056 !important;
    margin: 1.75rem auto !important;
    max-width: 1140px !important;
}
.modal-backdrop {
    z-index: 1050 !important;
    opacity: 0.5 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.modal {
    overflow-x: hidden;
    overflow-y: auto;
}
body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}
#loginmodal300 .modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 160px);
}
#loginmodal300 .close {
    opacity: 1 !important;
    color: #333 !important;
    text-shadow: none !important;
    font-size: 2.5rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    z-index: 1060 !important;
    position: relative !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #ddd !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}
#loginmodal300 .close:hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 1) !important;
    color: #d33 !important;
    border-color: #d33 !important;
    transform: scale(1.1) !important;
    transition: all 0.2s ease !important;
}
#loginmodal300 .close:focus {
    outline: 2px solid #007bff !important;
    outline-offset: 2px !important;
}
.modal.show {
    display: block !important;
    top: 0 !important;
}
.modal-backdrop.show ~ .modal-backdrop {
    display: none !important;
}
#loginmodal300 .modal-header {
    padding: 15px 20px !important;
    border-bottom: 1px solid #e9ecef !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #f8f9fa !important;
}
#loginmodal300 .modal-header .close {
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.modal .close,
.modal .btn-close {
    opacity: 1 !important;
    color: #333 !important;
    text-shadow: none !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #ddd !important;
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.modal .close:hover,
.modal .btn-close:hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 1) !important;
    color: #d33 !important;
    border-color: #d33 !important;
    transform: scale(1.1) !important;
    transition: all 0.2s ease !important;
}
.clean-offers-section {
    margin: 40px 0;
    padding: 0 20px;
}
.clean-section-title {
    font-size: 28px;
    font-weight: 600;
    color: #2077ba;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}
.clean-offer-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}
.clean-offer-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.clean-offer-header { margin-bottom: 16px; }
.clean-offer-title {
    font-size: 22px;
    font-weight: 600;
    color: #2077ba;
    margin: 0 0 8px 0;
    line-height: 1.3;
}
.clean-offer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #666;
}
.clean-offer-discount { font-weight: 500; color: #ffbe5f; }
.clean-offer-date { color: #999; font-size: 14px; }
.clean-offer-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 15px;
}
.clean-offer-terms {
    color: #777;
    margin-bottom: 20px;
    font-size: 14px;
    border-top: 1px solid #f5f5f5;
    padding-top: 12px;
}
.clean-offer-action { text-align: center; }
.clean-book-button {
    background: #2077ba;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 140px;
}
.clean-book-button:hover {
    background: #1a5f9a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(32, 119, 186, 0.3);
}
@media (max-width: 768px) {
    .clean-offers-section { padding: 0 15px; }
    .clean-section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    .clean-offer-card { padding: 20px; }
    .clean-offer-title { font-size: 20px; }
    .clean-offer-meta { font-size: 15px; }
    .clean-offer-description { font-size: 14px; }
    .clean-book-button {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Booking transition loader */
.booking-transition-loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.booking-transition-loader.is-visible {
    opacity: 1;
    visibility: visible;
}
.booking-transition-loader__card {
    width: min(520px, 90vw);
    background: #ffffff;
    border-radius: 22px;
    padding: 30px 26px;
    text-align: center;
    box-shadow: 0 18px 50px rgba(32, 119, 186, 0.16);
    border: 1px solid rgba(32, 119, 186, 0.12);
}
.booking-transition-loader__logo {
    max-width: 170px;
    height: auto;
    margin: 0 auto 16px;
    display: block;
}
.booking-transition-loader__pulse {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 10px;
}
.booking-transition-loader__pulse::before,
.booking-transition-loader__pulse::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(32, 119, 186, 0.16);
    width: 100%;
    height: 100%;
    animation: bookingTransitionPulse 1.6s ease-in-out infinite;
}
.booking-transition-loader__pulse::after {
    animation-delay: 0.4s;
}
.booking-transition-loader__pulse-inner {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2077ba, #2c91ce);
    box-shadow: 0 10px 18px rgba(32, 119, 186, 0.25);
}
.booking-transition-loader__spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(32, 119, 186, 0.2);
    border-top-color: #2077ba;
    margin: 0 auto 16px;
    animation: bookingTransitionSpin 0.9s linear infinite;
}
.booking-transition-loader__title {
    font-size: 18px;
    font-weight: 600;
    color: #1d3557;
    margin-bottom: 6px;
}
.booking-transition-loader__subtitle {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 18px;
}
.booking-transition-loader__hint {
    font-size: 12px;
    color: #6b7280;
}
@keyframes bookingTransitionSpin {
    to { transform: rotate(360deg); }
}
@keyframes bookingTransitionPulse {
    0% { transform: scale(0.6); opacity: 0.6; }
    70% { transform: scale(1.1); opacity: 0; }
    100% { transform: scale(1.1); opacity: 0; }
}
@media (max-width: 576px) {
    .booking-transition-loader__card {
        padding: 26px 20px;
    }
    .booking-transition-loader__title {
        font-size: 17px;
    }
}

/* Booking widgets */
.booking-widget-prominent {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}
#mobileBookingWidget {
    padding: 15px;
    background: linear-gradient(135deg, rgba(32, 119, 186, 0.05), rgba(249, 179, 59, 0.05));
}
#mobileBookingWidget .booking-widget-prominent {
    margin-bottom: 0;
}
.booking-widget-sidebar {
    position: sticky;
    top: 100px;
    margin-top: 56px;
    margin-bottom: 20px;
}
#primary .room-booking-widget > .room-booking-title {
    display: block;
    margin: 0 0 15px 0 !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3;
    color: #2077ba !important;
    background: #f8f9fa !important;
    border: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
    border-radius: 10px 10px 0 0 !important;
    text-decoration: none;
}
#primary .panel-wrapper > .panel-title:hover,
#primary .panel-wrapper > .panel-title:focus {
    color: #2c91ce !important;
    text-decoration: none;
}
.room-booking-widget {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.room-booking-title { margin-bottom: 15px; }
.room-booking-widget .room-booking-field:first-of-type {
    margin-top: 0;
}
.room-booking-field { margin-bottom: 14px; }
.room-booking-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a4a5a;
    margin-bottom: 6px;
}
.room-booking-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}
.room-booking-input i { color: #2077ba; }
.room-booking-input input {
    border: none;
    outline: none;
    font-size: 14px;
    color: #1a1a2e;
    flex: 1;
    background: transparent;
    cursor: pointer;
}
.room-booking-guests-toggle {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}
.room-booking-guests-toggle i { color: #2077ba; }
.room-booking-guests-panel {
    display: none;
    margin-top: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}
.room-booking-guests-panel.is-open { display: block; }
.room-booking-guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #1a1a2e;
}
.room-booking-guest-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.room-booking-guest-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #2077ba;
    background: #fff;
    color: #2077ba;
    font-size: 16px;
    cursor: pointer;
}
.room-booking-done-btn {
    width: 100%;
    margin-top: 10px;
    background: #2077ba;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}
.room-booking-submit {
    width: 100%;
    background: #f9b33b;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.room-booking-submit:hover {
    background: #ffbe5f;
    box-shadow: 0 6px 18px rgba(249, 179, 59, 0.35);
}
@media (max-width: 991.98px) {
    .booking-widget-sidebar {
        display: none !important;
        margin-top: 0;
    }
    #mobileBookingWidget {
        display: block !important;
    }
}
@media (min-width: 992px) {
    #mobileBookingWidget {
        display: none !important;
    }
    .booking-widget-sidebar {
        display: block !important;
    }
}
@media (max-width: 576px) {
    .booking-widget-prominent {
        padding: 16px;
        border-radius: 12px;
    }
}

/* Standalone loader page (new-window transition) */
html.loader-page,
body.loader-page {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background: #fff;
}
.loader-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.98);
}
.loader-card {
    width: min(520px, 90vw);
    background: #fff;
    border-radius: 22px;
    padding: 30px 26px;
    text-align: center;
    box-shadow: 0 18px 50px rgba(32,119,186,0.16);
    border: 1px solid rgba(32,119,186,0.12);
}
.loader-logo {
    max-width: 170px;
    height: auto;
    margin: 0 auto 16px;
    display: block;
}
.loader-pulse {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 10px;
}
.loader-pulse::before,
.loader-pulse::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(32,119,186,0.16);
    width: 100%;
    height: 100%;
    animation: loaderPulse 1.6s ease-in-out infinite;
}
.loader-pulse::after { animation-delay: 0.4s; }
.loader-pulse-inner {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2077ba, #2c91ce);
    box-shadow: 0 10px 18px rgba(32,119,186,0.25);
}
.loader-spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(32,119,186,0.2);
    border-top-color: #2077ba;
    margin: 0 auto 16px;
    animation: loaderSpin 0.9s linear infinite;
}
.loader-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d3557;
    margin-bottom: 6px;
}
.loader-subtitle {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 18px;
}
.loader-hint {
    font-size: 12px;
    color: #6b7280;
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderPulse {
    0% { transform: scale(0.6); opacity: 0.6; }
    70% { transform: scale(1.1); opacity: 0; }
    100% { transform: scale(1.1); opacity: 0; }
}
@media (max-width: 576px) {
    .loader-card { padding: 26px 20px; }
    .loader-title { font-size: 17px; }
}

.next-availability-offer {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dce8f4;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(32, 119, 186, 0.08);
    color: #2077ba;
    display: none;
    flex-wrap: wrap;
    gap: 12px 16px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 12px 14px;
}

.next-availability-offer.is-visible {
    display: flex;
}

@media (min-width: 992px) {
    .next-availability-offer--mobile.is-visible {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .next-availability-offer--desktop.is-visible {
        display: none;
    }
}

.next-availability-offer__line {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.35;
}

.next-availability-offer__label {
    color: #2077ba;
    font-weight: 600;
}

.next-availability-offer__actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.next-availability-offer__price {
    align-items: center;
    color: #2c91ce;
    display: inline-flex;
    gap: 6px;
    font-weight: 700;
}

.next-availability-offer__cta {
    align-items: center;
    background: #2077ba;
    border-radius: 6px;
    color: #ffffff;
    display: inline-flex;
    gap: 6px;
    font-weight: 700;
    padding: 7px 12px;
    text-decoration: none;
    white-space: nowrap;
}

.next-availability-offer__cta:hover,
.next-availability-offer__cta:focus {
    background: #2c91ce;
    color: #ffffff;
    text-decoration: none;
}

.next-availability-offer__icon {
    color: #2077ba;
}

@media (max-width: 767px) {
    .next-availability-offer {
        align-items: flex-start;
        padding: 12px;
    }

    .next-availability-offer__actions {
        width: 100%;
    }
}
