/* ============================================
   HOTEL DETAIL PAGE STYLES
   ============================================ */

:root {
    --brand: #0A58CA;
    --brand-dark: #0947A8;
    --brand-light: #E8F0FE;
    --brand-soft: #F0F5FF;
    --purple: #8B5CF6;
    --purple-light: #EDE9FE;
    --gray-50: #F8F9FC;
    --gray-100: #F1F3F7;
    --gray-200: #E9ECF0;
    --gray-500: #9AA4B2;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #212529;
    --gray-900: #1A1F2C;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-lg: 0 20px 35px -12px rgba(0,0,0,0.08);
    --radius: 24px;
    --radius-sm: 24px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb {
    --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.breadcrumb-item a {
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--brand) !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-outline-brand {
    border: 1px solid var(--gray-200);
    background: white;
    border-radius: 44px;
    font-weight: 500;
    transition: var(--transition);
}
.hotel-header h1{    font-size: 30px;}
.btn-outline-brand:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
    border: none;
    border-radius: 44px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-brand:hover {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10,88,202,0.25);
}

.btn-brand:disabled,
.btn-brand.disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
}

/* ============================================
   RATING BOX & STARS
   ============================================ */
.rating-box {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    font-weight: 700;
    min-width: 44px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.star-filled {
    color: #FBBF24;
}

.star-empty {
    color: var(--gray-300);
}

/* ============================================
   WORK FRIENDLY BADGE
   ============================================ */
.badge-work {
    background: var(--purple);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-item {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-md);
}

/* ============================================
   PREMIUM CARD
   ============================================ */
.hotel-card-premium {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05);
    margin-bottom: 1.5rem;
}

.hotel-card-premium:has(.hotel-guests-picker.active) {
    overflow: visible;
}

.hotel-card-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hotel-card-premium .card-header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hotel-card-premium .card-body {
    padding: 1.5rem;
}

.card-body {
    padding: 24px;
}

/* ============================================
   AMENITIES
   ============================================ */
.amenity-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-50);
    border-radius: 40px;
    font-size: 0.85rem;
    transition: var(--transition);
    color: var(--gray-700);
}

.work-friendly-card {
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05) !important;
}

.work-friendly-card .card-header {
    background: #fff !important;
    color: var(--gray-900) !important;
    border-bottom: 1px solid var(--gray-200);
    padding: 24px;
}

.internet-speed-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.speed-pill {
       min-width: 137px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    border-radius: 999px;
    padding: 12px 6px 8px 11px;
    color: #0f172a;
    font-weight: 900;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.45), 0 10px 24px rgba(15, 23, 42, 0.08);
}

.speed-pill .speed-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.58);
    font-size: 1.55rem;
}

.speed-pill .speed-label {
    display: block;
    font-size: 0.82rem;
    color: rgba(15, 23, 42, 0.82);
}

.speed-pill .speed-value {
    display: block;
    direction: ltr;
    font-size: 1.08rem;
}

.speed-pill.download {
    background: #22c18a;
}

.speed-pill.download .speed-icon {
    color: #047857;
}

.speed-pill.upload {
    background: #67bdf1;
}

.speed-pill.upload .speed-icon {
    color: #0c6fa8;
}

.speed-pill.ping {
    background: #ffb56b;
}

.speed-pill.ping .speed-icon {
    color: #b45309;
}

.soft-tag,
.office-tag,
.keyword-chip {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    border-radius: 999px !important;
    border: 0 !important;
    background: #f1f3f7 !important;
    color: #111827 !important;
    padding: 9px 14px !important;
    font-size: 0.88rem;
    font-weight: 800;
}

.soft-tag i,
.office-tag i,
.keyword-chip i {
    color: #111827;
    font-size: 1rem;
}

.satisfaction-meter {
    margin-top: 16px;
}

.satisfaction-track {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 52%, #22c55e 100%);
}

.satisfaction-labels {
    direction: ltr;
}

.satisfaction-handle {
    position: absolute;
    top: 50%;
    right: var(--value, 88%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
    transform: translate(50%, -50%);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.amenity-badge:hover {
    background: var(--brand-light);
    transform: translateY(-2px);
    color: var(--brand);
}

.hotel-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .hotel-amenities-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.amenity-grid-item .amenity-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    justify-content: flex-start;
}

.hotel-stay-nights-btn {
    border: 1px solid var(--gray-300);
    background: #fff;
    border-radius: 12px;
    padding: 0.55rem 0.75rem;
    font-weight: 600;
    color: var(--gray-800);
    transition: var(--transition);
}

.hotel-stay-nights-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-light);
}

.hotel-travel-search-layout #hotelAvailabilitySearchBtn,
.hotel-travel-search-layout .hotel-search-submit-btn {
    min-height: 48px;
}

.hotel-travel-search-layout .hotel-guests-picker {
    position: relative;
}

.hotel-travel-search-layout .hotel-guests-trigger {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    background: #fff;
    color: #1E293B;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.85rem;
    text-align: right;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hotel-travel-search-layout .hotel-guests-trigger i:first-child {
    color: var(--brand, #0A58CA);
    font-size: 1.05rem;
}

.hotel-travel-search-layout .hotel-guests-trigger small {
    display: block;
    color: #64748B;
    font-size: 0.68rem;
    line-height: 1.2;
}

.hotel-travel-search-layout .hotel-guests-trigger strong {
    display: block;
    font-size: 0.82rem;
    color: #1E293B;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-travel-search-layout .hotel-guests-picker.active .hotel-guests-trigger {
    border-color: var(--brand, #0A58CA);
    box-shadow: 0 0 0 3px rgba(10, 88, 202, 0.12);
}

.hotel-travel-search-layout .hotel-guests-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: min(310px, calc(100vw - 48px));
    background: #fff;
    border: 1px solid #E6EAF0;
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
    padding: 12px;
    display: none;
    z-index: 1081;
}

.hotel-travel-search-layout .hotel-guests-picker.active .hotel-guests-menu {
    display: block;
    animation: hotelGuestsMenuIn 0.18s ease;
}

@keyframes hotelGuestsMenuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.hotel-travel-search-layout .hotel-guests-menu .guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #EEF2F7;
}

.hotel-travel-search-layout .hotel-guests-menu .guest-row:last-of-type {
    border-bottom: 0;
}

.hotel-travel-search-layout .hotel-guests-menu .guest-row span small {
    display: block;
    color: #64748B;
    font-size: 0.68rem;
    margin-top: 2px;
}

.hotel-travel-search-layout .hotel-guests-menu .stepper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hotel-travel-search-layout .hotel-guests-menu .stepper button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #EEF2F7;
    color: #1E293B;
    font-weight: 900;
    line-height: 1;
}

.hotel-travel-search-layout .hotel-guests-menu .stepper button:hover {
    background: var(--brand, #0A58CA);
    color: #fff;
}

.hotel-travel-search-layout .hotel-guests-footer {
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid #EEF2F7;
}

@media (max-width: 767.98px) {
    .hotel-travel-search-layout .hotel-travel-dates-row {
        row-gap: 0.75rem;
    }
}

/* ============================================
   ROOMS SECTION
   ============================================ */
.room-item {
    transition: var(--transition);
}

.room-item:hover {
    background: var(--gray-50);
}

.room-price .price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand);
}

.room-price .currency {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* ============================================
   REVIEWS
   ============================================ */
.review-item {
    transition: var(--transition);
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: white;
}

.review-item:hover {
    background: var(--gray-50);
    transform: translateX(4px);
}

.review-filter .input-group {
    border-radius: 44px;
    overflow: hidden;
}

.review-filter .form-control {
    border-radius: 999px !important;
    border: 1px solid var(--gray-200);
    padding: 0.8rem 1.25rem;
}

.review-filter .btn-brand {
    border-radius: 999px !important;
    padding: 0.75rem 1.5rem;
}

.suggested-keywords .keyword-chip {
    cursor: pointer;
    transition: var(--transition);
}

.suggested-keywords .keyword-chip:hover {
    background: var(--brand) !important;
    color: white !important;
    border-color: var(--brand) !important;
}

/* ============================================
   RATING INPUT (MODAL)
   ============================================ */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.rating-input .star-label {
    font-size: 2rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: all 0.2s;
}

.rating-input .star-label:hover,
.rating-input .star-label:hover ~ .star-label,
.rating-input input:checked ~ .star-label {
    color: #FBBF24;
    transform: scale(1.05);
}

/* ============================================
   MAP
   ============================================ */
#map {
    height: 280px;
    width: 100%;
    border-radius: 0;
}

.hotel-amenities-map-row .hotel-card-premium #map {
    border-radius: 0;
}

.hotel-amenities-map-row .hotel-card-premium > .p-3 {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.hotel-travel-search-sticky {
    position: sticky;
    top: 88px;
    z-index: 40;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

/* Modal is moved to body in JS; keep it above jump CTA (1080) and backdrop */
.modal.rooms-guests-modal {
    z-index: 1100;
}

body.modal-open .hotel-jump-to-booking {
    visibility: hidden !important;
    pointer-events: none !important;
}

.hotel-travel-search-flash {
    outline: 3px solid rgba(10, 88, 202, .35);
    outline-offset: 4px;
    transition: outline-color .3s ease;
}

.hotel-jump-to-booking {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(12px);
    z-index: 1080;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    box-shadow: 0 12px 28px rgba(10, 88, 202, .35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.hotel-jump-to-booking.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.hotel-jump-to-booking:hover,
.hotel-jump-to-booking:focus-visible {
    color: #fff;
    filter: brightness(1.05);
}

.hotel-jump-to-booking i {
    font-size: 1.15rem;
}

@media (max-width: 991.98px) {
    .hotel-jump-to-booking {
        bottom: 88px;
        font-size: .88rem;
        padding: .75rem 1.1rem;
    }
}

.sticky-sidebar {
    position: static;
    top: auto;
}

/* ============================================
   LIGHTGALLERY ICONS VIA REMIX ICON
   ============================================ */
.lg-icon,
.lg-next,
.lg-prev,
.lg-toolbar .lg-icon {
    font-family: "remixicon" !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

.lg-next,
.lg-prev {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    color: #fff !important;
    background: rgba(15, 23, 42, 0.58) !important;
    backdrop-filter: blur(10px);
}

.lg-next:before,
.lg-prev:before,
.lg-prev:after,
.lg-toolbar .lg-close:after,
.lg-toolbar .lg-download:after,
.lg-toolbar .lg-maximize:after {
    font-family: "remixicon" !important;
    font-weight: 400 !important;
}

.lg-next:before {
    content: "\ea6e" !important;
}

.lg-prev:before {
    content: "\ea64" !important;
}

.lg-prev:after {
    content: "" !important;
}

.lg-toolbar .lg-close:after {
    content: "\eb99" !important;
}

.lg-toolbar .lg-download:after {
    content: "\ec5a" !important;
}

.lg-toolbar .lg-maximize:after {
    content: "\ed9c" !important;
}

.lg-inline .lg-toolbar .lg-maximize:after,
.lg-inline .lg-maximize:after {
    content: "\ed9a" !important;
}

.lg-video-play-button .lg-video-play-icon {
    display: none;
}

.lg-video-play-button:before {
    content: "\f00b";
    font-family: "remixicon";
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    position: relative;
    z-index: 2;
}

/* ============================================
   PROGRESS BARS (WORK FRIENDLY)
   ============================================ */
.progress {
    background-color: var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
}

.rating-bars .progress {
    height: 12px !important;
    border-radius: 999px;
}

.rating-bars .progress-bar {
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #facc15) !important;
}

.rating-bars .d-flex:nth-child(n+4) .progress-bar {
    background: linear-gradient(90deg, #f59e0b, #ef4444) !important;
}

.review-score-card {
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 18px;
    background: #fff;
    text-align: center;
    height: 100%;
}

.review-score-card .score-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-900);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.review-score-card-compact {
    padding: 10px 12px;
    border-radius: 14px;
}

.review-score-card-compact .h5 {
    font-size: 1.05rem;
    font-weight: 700;
}

.hotel-reviews-summary .hotel-review-avg {
    font-size: 2rem;
}

.rating-bars-compact .progress {
    height: 6px !important;
}

.stars-sm i {
    font-size: 0.85rem;
}

.progress-bar {
    transition: width 0.5s ease;
}

/* ============================================
   RATING BARS (REVIEW BREAKDOWN)
   ============================================ */
.rating-bars .progress {
    background-color: var(--gray-200);
    border-radius: 10px;
}

/* ============================================
   CALENDAR
   ============================================ */
#roomCalendar .border {
    transition: var(--transition);
}

#roomCalendar .border:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   MODAL STYLES
   ============================================ */
.modal-content {
    border-radius: 20px;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: 1rem 1.5rem;
}

/* ============================================
   PURPLE THEME (WORK FRIENDLY SECTION)
   ============================================ */
.bg-purple {
    background: var(--purple);
}

.border-purple {
    border-color: var(--purple) !important;
}

.text-purple {
    color: var(--purple);
}

.badge.bg-purple {
    background: var(--purple);
    color: white;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 992px) {
    .display-5 {
        font-size: 2rem;
    }
    
    .hotel-card-premium .card-header {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .hotel-card-premium .card-body {
        padding: 1rem;
    }
    
    .room-item .row {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .display-5 {
        font-size: 1.5rem;
    }
    
    .btn-outline-brand,
    .btn-brand {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .room-price .price {
        font-size: 1.1rem;
    }
    
    .review-item {
        padding: 0.75rem;
    }
    
    .rating-input .star-label {
        font-size: 1.5rem;
    }
    
    .sticky-sidebar {
        position: static;
        top: auto;
    }

    .hotel-travel-search-sticky {
        top: 72px;
    }

    .hotel-amenities-map-row > [class*="col-"] {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    #map {
        height: 240px;
    }
}

@media (max-width: 576px) {
    .hotel-card-premium .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .rating-bars .d-flex {
        flex-wrap: wrap;
    }
    
    .suggested-keywords .keyword-chip {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .btn-outline-brand,
    .btn-brand,
    .sticky-sidebar,
    .wave-surf-indicator,
    .custom-nav,
    .breadcrumb-section,
    .btn-wishlist,
    .hotel-content .btn,
    .modal {
        display: none !important;
    }
    
    .hotel-card-premium {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .room-item {
        break-inside: avoid;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hotel-card-premium {
    animation: fadeIn 0.5s ease forwards;
}

.hotel-card-premium:nth-child(1) { animation-delay: 0s; }
.hotel-card-premium:nth-child(2) { animation-delay: 0.1s; }
.hotel-card-premium:nth-child(3) { animation-delay: 0.2s; }
.hotel-card-premium:nth-child(4) { animation-delay: 0.3s; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-brand {
    color: var(--brand);
}

.bg-brand-light {
    background: var(--brand-light);
}

.cursor-pointer {
    cursor: pointer;
}

.overflow-hidden {
    overflow: hidden;
}

.object-fit-cover {
    object-fit: cover;
}

.rounded-4 {
    border-radius: 24px !important;
}

.rounded-3 {
    border-radius: 24px !important;
}

/* ============================================
   PRICE DISPLAY
   ============================================ */
.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand);
}

.currency {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* ============================================
   CHARTS & SPEED METER
   ============================================ */
.internet-speed-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.internet-speed-container canvas {
    max-width: 150px;
    height: auto;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.pagination .page-item .page-link {
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    padding: 0.5rem 0.85rem;
    transition: var(--transition);
}

.pagination .page-item.active .page-link {
    background: var(--brand);
    border-color: var(--brand);
    color: white;
}

.pagination .page-item .page-link:hover {
    background: var(--brand-light);
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}

/* ============================================
   TOOLTIPS & HELPERS
   ============================================ */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 100;
}

[data-tooltip]:hover:before {
    opacity: 1;
}

/* ============================================
   LOADING STATES
   ============================================ */
.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gray-200);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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




/* ============================================
   ROOM CALENDAR STYLES
   ============================================ */
.calendar-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--brand-light);
    border-bottom: 1px solid var(--gray-200);
}

.calendar-weekday {
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--brand-dark);
    border-right: 1px solid var(--gray-200);
}

.calendar-weekday:last-child {
    border-right: none;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: white;
}

.calendar-day {
    min-height: 100px;
    padding: 8px;
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
    cursor: pointer;
}

.calendar-day:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 1;
}

.calendar-day.other-month {
    background: var(--gray-50);
    opacity: 0.6;
}

.calendar-day.today {
    background: linear-gradient(135deg, var(--brand-light), white);
    border: 2px solid var(--brand);
}

.day-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    display: inline-block;
    background: var(--gray-100);
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
}

.calendar-day.today .day-number {
    background: var(--brand);
    color: white;
}

.day-price {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand);
    margin: 6px 0;
    direction: ltr;
    text-align: center;
    background: var(--brand-light);
    padding: 2px 4px;
    border-radius: 8px;
}

.day-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 4px;
}

.day-status-text {
    font-size: 0.65rem;
    color: var(--gray-600);
}

.status-available { background: #10b981; }
.status-limited { background: #f59e0b; }
.status-unavailable { background: #dc2626; }
.status-unregistered { background: #6c757d; }

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

@media (max-width: 768px) {
    .calendar-day {
        min-height: 70px;
        padding: 4px;
    }
    
    .day-number {
        width: 22px;
        height: 22px;
        line-height: 22px;
        font-size: 0.7rem;
    }
    
    .day-price {
        font-size: 0.6rem;
    }
    
    .calendar-weekday {
        padding: 8px 4px;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .calendar-day {
        min-height: 60px;
    }
    
    .day-price {
        display: none;
    }
    
    .calendar-wrapper {
        overflow-x: auto;
    }
    
    .calendar-weekdays,
    .calendar-days {
        min-width: 560px;
    }
}

#roomAvailabilityCalendar.calendar-highlight {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
    transition: box-shadow 0.3s ease;
}

/* --- inline overrides --- */
body {
        background: #F8FAFC;
    }

    .breadcrumb-section {
        background: #F8FAFC;
    }

    .breadcrumb-section .breadcrumb {
        font-size: 0.78rem;
    }

    .breadcrumb-section .breadcrumb a,
    .breadcrumb-section .breadcrumb-item,
    .breadcrumb-section .breadcrumb-item.active {
        color: #94A3B8 !important;
        font-weight: 600 !important;
    }

    .hotel-header-card {
        background: #fff;
        border: 1px solid rgba(226, 232, 240, 0.9);
        border-radius: 24px;
        box-shadow: 0 18px 46px rgba(15, 23, 42, 0.05);
        padding: 1.6rem;
    }

    .hotel-toolbar {
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem;
        justify-content: flex-end;
    }

    .hotel-tool-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.42rem;
        border: 1px solid #E2E8F0;
        border-radius: 999px;
        background: #F8FAFC;
        color: #334155;
        padding: 0.58rem 0.9rem;
        font-size: 0.84rem;
        font-weight: 800;
        transition: all 0.2s ease;
    }

    .hotel-tool-btn:hover {
        background: #EFF6FF;
        color: #0A58CA;
        border-color: #BFDBFE;
        transform: translateY(-2px);
    }

    .hotel-header-card .col-md-4 {
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem;
        justify-content: flex-end;
    }

    .hotel-header-card .btn-outline-brand {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.42rem;
        border: 1px solid #E2E8F0;
        border-radius: 999px;
        background: #F8FAFC;
        color: #334155;
        padding: 0.58rem 0.9rem;
        font-size: 0.84rem;
        font-weight: 800;
        transition: all 0.2s ease;
        margin-inline-start: 0 !important;
    }

    .hotel-header-card .btn-outline-brand:hover {
        background: #EFF6FF;
        color: #0A58CA;
        border-color: #BFDBFE;
        transform: translateY(-2px);
    }

    .hotel-header-card .rating-box {
        border-radius: 12px !important;
        background: linear-gradient(135deg, #0A58CA, #0947A8);
        box-shadow: 0 10px 22px rgba(10, 88, 202, 0.16);
        font-weight: 900;
    }

    .hotel-header-card .stars {
        display: inline-flex;
        gap: 2px;
    }

    .hotel-header-card .star-filled {
        color: #FBBF24;
        font-size: 1.14rem;
        font-weight: 900;
        filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.28));
    }

    .hotel-header-card .star-empty {
        display: none;
    }

    .badge-work {
        border-radius: 999px !important;
        background: rgba(124, 58, 237, 0.1);
        color: #6D28D9;
        border: 1px solid rgba(124, 58, 237, 0.18);
        padding: 0.42rem 0.78rem;
        font-weight: 900;
    }

    .gallery-section .gallery-shell {
        position: relative;
    }

    .gallery-section .gallery-item {
        display: block;
        overflow: hidden;
        border-radius: 24px;
        height: 100%;
    }

    .gallery-section .gallery-item img {
        border-radius: 24px !important;
        transition: transform 0.25s ease;
    }

    .gallery-section .gallery-item:hover img {
        transform: scale(1.025);
    }

    .gallery-show-all-btn {
        position: absolute;
        left: 18px;
        bottom: 18px;
        z-index: 3;
        border: 0;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.72);
        color: #fff;
        padding: 0.58rem 0.9rem;
        font-size: 0.82rem;
        font-weight: 900;
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        backdrop-filter: blur(10px);
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.2);
    }

    .gallery-show-all-btn:hover {
        background: rgba(10, 88, 202, 0.88);
        color: #fff;
    }

    .calendar-range-card {
        background: #fff;
        border: 1px solid #e9edf4;
        border-radius: 24px;
        padding: 24px;
        box-shadow: inset 0 1px 2px rgba(15, 23, 42, .035), 0 10px 24px rgba(15, 23, 42, .04);
        height: 100%;
    }
    .calendar-range-title {
        font-weight: 700;
        color: #1f2937;
    }
    .calendar-range-meta {
        color: #64748b;
        font-size: .86rem;
    }
    .calendar-range-badge {
        white-space: nowrap;
    }
    .room-meta-badge {
        font-size: .75rem;
        padding: .35rem .55rem;
    }
    .room-gallery-link {
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: 24px;
    }
    .room-gallery-link img {
        border-radius: 24px !important;
        transition: transform .25s ease;
    }
    .room-gallery-link:hover img {
        transform: scale(1.04);
    }
    .room-gallery-zoom {
        position: absolute;
        inset: auto .45rem .45rem auto;
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(15, 23, 42, .72);
        color: #fff;
        backdrop-filter: blur(6px);
    }
    .calendar-day.calendar-day-past {
        opacity: .45;
        filter: grayscale(.25);
        pointer-events: none;
        cursor: not-allowed;
    }
    .calendar-day.calendar-day-past .day-status-text {
        color: #94a3b8;
    }
    .hotel-map-search {
        position: relative;
        padding: 24px 24px 0;
    }
    .hotel-map-search .map-search-field {
        position: relative;
    }
    .hotel-map-search .map-search-field i {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #0A58CA;
        z-index: 2;
    }
    .hotel-map-search .form-control {
        border-radius: 999px;
        padding-right: 46px;
        min-height: 48px;
    }
    .hotel-map-search .suggestions {
        position: absolute;
        top: calc(100% - 2px);
        right: 12px;
        left: 12px;
        z-index: 15;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        box-shadow: 0 16px 30px rgba(15, 23, 42, .12);
        max-height: 240px;
        overflow-y: auto;
        display: none;
    }
    .hotel-map-search .suggestions.show {
        display: block;
    }
    .hotel-map-search .suggestion-item {
        padding: .7rem .9rem;
        cursor: pointer;
        border-bottom: 1px solid #f1f5f9;
    }
    .hotel-map-search .suggestion-item:last-child {
        border-bottom: 0;
    }
    .hotel-map-search .suggestion-item:hover {
        background: #f8fafc;
    }
    .hotel-map-pin {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        pointer-events: auto;
        user-select: none;
    }
    .hotel-map-pin-badge {
        background: #fff;
        color: #0f172a;
        border: 1px solid rgba(15, 23, 42, .12);
        border-radius: 999px;
        padding: 2px 8px;
        font-size: .72rem;
        font-weight: 700;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
        white-space: nowrap;
    }
    .hotel-map-pin svg {
        width: 30px;
        height: 30px;
        display: block;
    }
    .hotel-map-pin-hotel svg path,
    .hotel-map-pin-hotel svg circle {
        fill: #ef4444;
        stroke: #fff;
        stroke-width: 1.6;
    }
    .hotel-map-pin-selected svg path,
    .hotel-map-pin-selected svg circle {
        fill: #2563eb;
        stroke: #fff;
        stroke-width: 1.6;
    }
    .hotel-route-info {
        margin-top: .75rem;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: .8rem .9rem;
        font-size: .9rem;
        color: #334155;
    }
    .hotel-map-card {
        position: relative;
        transition: all .25s ease;
        border-radius: 24px;
        box-shadow: 0 18px 42px rgba(15, 23, 42, .05);
    }
    .hotel-map-expand-btn {
        position: absolute;
        top: .75rem;
        left: .75rem;
        z-index: 10;
    }
    .hotel-map-card.is-expanded {
        position: fixed;
        inset: 16px;
        z-index: 1055;
        background: #fff;
        border-radius: 24px;
        box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
        overflow: hidden;
    }
    .hotel-map-card.is-expanded #map {
        height: calc(100vh - 220px) !important;
    }
    .hotel-map-card.is-expanded .hotel-map-search {
        padding-top: 56px;
    }
    body.map-expanded {
        overflow: hidden;
    }
    .hotel-map-modal .modal-body {
        background: #fff;
    }
    .hotel-map-modal .hotel-map-card.is-modal {
        width: 100%;
        height: 100%;
        border-radius: 0;
        box-shadow: none;
    }
    .hotel-map-modal .hotel-map-card.is-modal #map {
        height: min(68vh, 720px) !important;
    }
    .hotel-map-detail {
        padding: 24px;
    }
    .hotel-map-card #hotelNativeMapLink,
    .hotel-map-modal #hotelNativeMapLinkModal {
        background: transparent;
        border-color: #cbd5e1;
        color: #334155;
    }
    .hotel-map-card #hotelNativeMapLink:hover,
    .hotel-map-modal #hotelNativeMapLinkModal:hover {
        border-color: #0A58CA;
        color: #0A58CA;
        background: rgba(10, 88, 202, .06);
    }
    .hotel-contact-line {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        color: #334155;
        margin-bottom: 12px;
    }
    .hotel-contact-line i {
        color: #334155;
        font-size: 1.25rem;
        margin-top: 2px;
    }
    .guest-stepper-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
    .guest-stepper {
        border: 1px solid #e2e8f0;
        border-radius: 24px;
        padding: 12px;
        background: #fff;
        box-shadow: inset 0 1px 2px rgba(15, 23, 42, .035);
    }
    #checkInDate,
    #checkOutDate {
        border-radius: 24px 2px 2px 24px;
        min-height: 48px;
        box-shadow: inset 0 1px 3px rgba(15, 23, 42, .06);
    }
    .guest-stepper-title {
        color: #334155;
        font-size: .82rem;
        font-weight: 800;
        margin-bottom: 8px;
    }
    .guest-stepper-control {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .guest-stepper-btn {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1px solid #dbe3ef;
        background: #f8fafc;
        color: #0f172a;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
    }
    .guest-stepper-value {
        min-width: 24px;
        text-align: center;
        font-weight: 900;
    }
    .booking-policies .accordion-item {
        border: 1px solid #e2e8f0;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 18px 42px rgba(15, 23, 42, .05);
    }
    .booking-policies .accordion-button {
        border-radius: 24px !important;
        font-weight: 900;
        padding: 20px 24px;
    }
    .policy-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .policy-item {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        background: #f8fafc;
        border-radius: 20px;
        padding: 14px 16px;
    }
    .room-media-gallery {
        width: 100%;
    }
    .room-media-layout {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .room-media-layout.has-sidebar {
        flex-direction: row;
        align-items: stretch;
    }
    .room-media-open {
        flex: 1;
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: zoom-in;
    }
    .room-media-preview-wrap {
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: 16px;
        height: 110px;
        background: #f1f5f9;
    }
    .room-media-preview-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.25s ease;
    }
    .room-media-open:hover .room-media-preview-img {
        transform: scale(1.05);
    }
    .room-media-sidebar {
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex-shrink: 0;
    }
    .room-media-switch {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 52px;
        padding: 4px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        background: #fff;
        cursor: pointer;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .room-media-switch img {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 8px;
    }
    .room-media-switch span {
        font-size: 0.62rem;
        line-height: 1.1;
        color: #64748b;
        font-weight: 600;
    }
    .room-media-switch:hover,
    .room-media-switch.active {
        border-color: var(--brand, #2563eb);
        box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
    }
    .room-media-switch.active span {
        color: var(--brand, #2563eb);
    }
    .room-media-open .room-gallery-zoom {
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    .room-media-open:hover .room-gallery-zoom {
        opacity: 1;
    }
    .policy-item i {
        color: #111827;
        font-size: 1.15rem;
        margin-top: 2px;
    }
    @media (max-width: 768px) {
        .guest-stepper-grid {
            grid-template-columns: 1fr;
        }
        .policy-list {
            grid-template-columns: 1fr;
        }
    }

/* --- block --- */

/* Policies + calendar side-by-side */
.hotel-policies-calendar-row .booking-policies .accordion-item {
    height: 100%;
}
.hotel-policies-calendar-row .booking-policies .accordion-body {
    max-height: 520px;
    overflow-y: auto;
}
.hotel-policies-calendar-row #roomAvailabilityCalendar {
    display: flex;
    flex-direction: column;
}
.hotel-policies-calendar-row #roomAvailabilityCalendar .card-body {
    flex: 1;
}

/* Room Card Styles */
.room-card {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    background: #fff;
    overflow: hidden;
    padding: 0 !important;
}
.room-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.35) !important;
}

.room-card-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 300px;
    align-items: stretch;
    min-height: 220px;
}

/* Two room cards per row: compact stacked layout */
.rooms-container.row > [class*="col-"] > .room-card .room-card-layout {
    grid-template-columns: 1fr;
    min-height: 0;
}
.rooms-container.row > [class*="col-"] > .room-card .room-card-media {
    border-inline-end: 0;
    border-bottom: 1px solid #eef2f7;
    padding: 12px 12px 0;
}
.rooms-container.row > [class*="col-"] > .room-card .room-card-media .room-media-preview-wrap {
    min-height: 160px;
    height: 160px;
}
.rooms-container.row > [class*="col-"] > .room-card .room-card-aside {
    border-inline-start: 0;
    border-top: 1px solid #eef2f7;
}
.rooms-container.row > [class*="col-"] > .room-card .room-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.room-card-media {
    padding: 12px;
    background: #f8fafc;
    border-inline-end: 1px solid #eef2f7;
}

.room-card-media .room-media-gallery,
.room-card-media .room-media-layout,
.room-card-media .room-media-open {
    height: 100%;
}

.room-card-media .room-media-preview-wrap {
    height: 100%;
    min-height: 196px;
    border-radius: 14px;
}

.room-card-body {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding: 1rem 1.15rem;
    min-width: 0;
}

.room-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.room-card-type {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    color: #64748b;
}

.room-card-desc {
    margin: 0;
    font-size: .88rem;
    line-height: 1.7;
    color: #475569;
}

.room-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: auto;
}

.room-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: .78rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.room-meta-chip i { color: #64748b; }

.room-meta-chip--accent {
    background: rgba(15, 118, 110, 0.08);
    border-color: rgba(15, 118, 110, 0.2);
    color: #0f766e;
}
.room-meta-chip--accent i { color: #0f766e; }

.room-card-aside {
    padding: 12px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 45%);
    border-inline-start: 1px solid #eef2f7;
}

.room-media-open:hover .room-gallery-zoom {
    opacity: 1 !important;
}

.guest-stepper .guest-stepper-btn:hover {
    background-color: var(--brand);
    color: white;
    border-color: var(--brand);
}

.badge.bg-purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
}
.badge.bg-info {
    background: linear-gradient(135deg, #06AED4, #0891B2);
    color: white;
}

.room-features .badge {
    font-weight: 500;
    background: #f8f9fc;
}

@media (max-width: 1100px) {
    .room-card-layout {
        grid-template-columns: 180px minmax(0, 1fr) 270px;
    }
}

@media (max-width: 992px) {
    .room-card-layout {
        grid-template-columns: 1fr;
    }
    .room-card-media {
        border-inline-end: 0;
        border-bottom: 1px solid #eef2f7;
        padding: 12px 12px 0;
    }
    .room-card-media .room-media-preview-wrap {
        min-height: 180px;
        height: 180px;
    }
    .room-card-aside {
        border-inline-start: 0;
        border-top: 1px solid #eef2f7;
    }
    .guest-stepper-grid {
        flex-direction: column;
    }
    .guest-stepper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .room-card {
        padding: 0 !important;
    }
    .room-media-layout.has-sidebar {
        flex-direction: row;
    }
}

/* Room quote summary + extra bed (hotel show) */
.room-booking-panel {
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    height: 100%;
}

.room-price--compact {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    margin: 0 !important;
}

.room-price__from,
.room-price__unit {
    font-size: .72rem;
    color: #94a3b8;
}

.room-price__amount {
    display: flex;
    align-items: baseline;
    gap: .3rem;
    flex-wrap: wrap;
}

.room-price__amount .price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand, #2563eb);
    line-height: 1.2;
}

.room-price__amount .currency {
    font-size: .8rem;
    color: #64748b;
}

.room-booking-panel .booking-form {
    margin-top: auto;
}

.room-extra-bed-hint {
    display: flex;
    align-items: flex-start;
    gap: .4rem;
    font-size: .75rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0 !important;
}

.room-extra-bed-hint i {
    color: #0f766e;
    margin-top: 1px;
}

.room-quote-placeholder {
    color: #94a3b8;
    font-size: .82rem;
    padding: .55rem .75rem;
    border: 1px dashed #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.room-quote-card {
    text-align: start;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.room-quote-card__nightly,
.room-quote-card__total {
    padding: .7rem .85rem;
}

.room-quote-card__total {
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
}

.room-quote-card__nightly {
    border-bottom: 1px solid #eef2f7;
}

.room-quote-card__includes,
.room-quote-card__hint {
    font-size: .72rem;
    color: #64748b;
    line-height: 1.5;
    margin-top: .35rem;
}

.room-quote-card__details-title {
    font-size: .72rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: .45rem;
    padding: 0 .85rem;
    padding-top: .55rem;
}

.room-quote-card__label {
    font-size: .72rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: .15rem;
}

.room-quote-card__value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f766e;
    line-height: 1.3;
}

.room-quote-card__value--total {
    font-size: 1.2rem;
    color: #0f172a;
}

.room-quote-card__secondary {
    font-size: .78rem;
    color: #64748b;
    margin-top: .1rem;
}

.room-quote-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    padding: .55rem .85rem .7rem;
    border-top: 1px solid #eef2f7;
}

.room-quote-card__meta span {
    display: inline-flex;
    align-items: center;
    font-size: .72rem;
    color: #475569;
    background: #f1f5f9;
    border-radius: 999px;
    padding: .2rem .55rem;
}

.room-quote-card__details {
    border-top: 1px dashed #e2e8f0;
    padding: .45rem .85rem .65rem;
}

.room-quote-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    font-size: .78rem;
    color: #64748b;
    padding: .35rem .85rem;
}

.room-quote-line__info {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 0;
}

.room-quote-line__label {
    color: #334155;
    font-weight: 600;
}

.room-quote-line__unit {
    font-size: .7rem;
    color: #94a3b8;
}

.room-quote-line strong {
    color: #0f172a;
    font-weight: 700;
    white-space: nowrap;
}

.room-quote-line--sum {
    border-top: 1px dashed #cbd5e1;
    margin-top: .25rem;
    padding-top: .55rem;
    font-weight: 600;
    color: #0f172a;
}

.room-extra-bed-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .15rem;
}

.hotel-extra-bed {
    margin: .35rem 0 .55rem;
    padding: .65rem .7rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.hotel-extra-bed.is-enabled {
    border-color: rgba(15, 118, 110, .35);
    background: rgba(15, 118, 110, .06);
}

.hotel-extra-bed__toggle {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    cursor: pointer;
    margin: 0;
}

.hotel-extra-bed__checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hotel-extra-bed__box {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    color: transparent;
    transition: .15s ease;
}

.hotel-extra-bed__box i {
    font-size: 14px;
    line-height: 1;
}

.hotel-extra-bed.is-enabled .hotel-extra-bed__box,
.hotel-extra-bed__checkbox:checked + .hotel-extra-bed__box {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.hotel-extra-bed__copy {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    text-align: start;
}

.hotel-extra-bed__copy strong {
    font-size: .88rem;
    color: #0f172a;
}

.hotel-extra-bed__copy small {
    font-size: .72rem;
    color: #64748b;
}

.hotel-extra-bed__counter {
    margin-top: .55rem;
    padding-top: .45rem;
    border-top: 1px dashed #cbd5e1;
}

.hotel-extra-bed__counter.d-none,
.hotel-extra-bed__counter[hidden] {
    display: none !important;
}


/* Selected rooms cart (multi-room) */
.hotel-rooms-cart {
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 70%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.hotel-rooms-cart__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem .75rem;
    margin-bottom: .65rem;
}

.hotel-rooms-cart__title {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    color: #0f172a;
}

.hotel-rooms-cart__title i {
    color: #0a58ca;
    font-size: 1.15rem;
}

.hotel-rooms-cart__progress-meta {
    font-size: .9rem;
    font-weight: 600;
    color: #334155;
}

.hotel-rooms-cart__progress {
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: .85rem;
}

.hotel-rooms-cart__progress-bar {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #0a58ca 0%, #22c55e 100%);
    transition: width .25s ease;
}

.hotel-rooms-cart__progress-bar.is-complete {
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
}

.hotel-rooms-cart__list {
    list-style: none;
    margin: 0 0 .85rem;
    padding: 0;
    display: grid;
    gap: .55rem;
}

.hotel-rooms-cart__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .7rem .85rem;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #fff;
}

.hotel-rooms-cart__item.is-filled {
    border-style: solid;
    border-color: #bfdbfe;
    background: #f0f7ff;
}

.hotel-rooms-cart__item.is-active {
    border-style: solid;
    border-color: #0a58ca;
    background: #eef5ff;
    box-shadow: 0 0 0 2px rgba(10, 88, 202, 0.12);
}

.hotel-rooms-cart__item-main {
    min-width: 0;
}

.hotel-rooms-cart__item-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: #0a58ca;
    margin-bottom: .15rem;
}

.hotel-rooms-cart__item-name {
    display: block;
    font-size: .92rem;
    color: #0f172a;
    font-weight: 600;
}

.hotel-rooms-cart__item-guests {
    display: block;
    font-size: .78rem;
    color: #64748b;
    margin-top: .1rem;
}

.hotel-rooms-cart__item.is-empty .hotel-rooms-cart__item-name {
    color: #94a3b8;
    font-weight: 500;
}

.hotel-rooms-cart__remove {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: #dc2626;
    padding: .25rem;
    border-radius: 8px;
}

.hotel-rooms-cart__remove:hover {
    background: #fee2e2;
}

.hotel-rooms-cart__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.hotel-rooms-cart__hint {
    flex: 1 1 220px;
    font-size: .82rem;
    color: #64748b;
}

.hotel-rooms-cart__continue:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.room-card.is-cart-selected {
    outline: 2px solid rgba(10, 88, 202, .35);
    outline-offset: 2px;
}

.view-reserve-btn.is-add-mode {
    background: #fff !important;
    color: #0a58ca !important;
    border: 1.5px solid #0a58ca;
}

.view-reserve-btn.is-add-mode:hover {
    background: #eff6ff !important;
}
