.unified-filter-bar {
    background: linear-gradient(135deg, #eef5ff 0%, #f8fbff 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #d6eaff;
    top: 0px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,195,255,0.08);
}

.booking-type-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.tab-btn {
    padding: 10px 20px;
    border: 2px solid #00c3ff;
    background: white;
    color: #00c3ff;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tab-btn:hover, .tab-btn.active {
    background: #00c3ff;
    color: white;
    box-shadow: 0 4px 12px rgba(0,195,255,0.3);
}

.tab-btn.combo-tab {
    border-color: #ffd700;
    color: #e6a600;
}

.tab-btn.combo-tab.active {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    border-color: #ffd700;
    color: #333;
}

.tab-btn.combo-tab:hover {
    box-shadow: 0 4px 12px rgba(255,215,0,0.4);
}

.tab-btn i { font-size: 14px; }

@media (max-width: 576px) {
    .tab-btn { flex: 1; text-align: center; padding: 8px 12px; font-size: 12px; justify-content: center; }
    .unified-filter-bar { padding: 16px; position: static; }
}

/* Dynamic fields */
.filter-field-row { animation: slideDown 0.3s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Duration packages */
.duration-packages { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.duration-card {
    flex: 1; min-width: 70px; max-width: 100px;
    padding: 10px 8px; border: 2px solid #dee2e6; border-radius: 8px;
    cursor: pointer; text-align: center; transition: all 0.2s;
    background: white;
}
.duration-card:hover { border-color: #00c3ff; background: #f0f9ff; }
.duration-card.selected {
    border-color: #00c3ff; background: #e8f7ff;
    box-shadow: 0 2px 8px rgba(0,195,255,0.2);
}
.duration-card .hours { font-size: 16px; font-weight: 700; color: #333; }
.duration-card .price { font-size: 11px; color: #666; margin-top: 2px; }
.duration-card.selected .hours { color: #00c3ff; }

/* Hourly preview */
#hourly-preview .alert { border-radius: 8px; border: none; }

/* Combo cards */
#combo-cards-container { animation: slideDown 0.3s ease; }
.combo-cards-scroll {
    display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
    scrollbar-width: thin; scrollbar-color: #00c3ff transparent;
    padding-top: 10px;
}
.combo-cards-scroll::-webkit-scrollbar { height: 6px; }
.combo-cards-scroll::-webkit-scrollbar-thumb { background: #00c3ff; border-radius: 3px; }

.combo-card {
    flex: 0 0 280px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(255,193,7,0.15);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.combo-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,193,7,0.25); }

.combo-badge {
    position: absolute; top: -10px; right: 10px;
    background: #f75229; color: white; padding: 2px 10px;
    border-radius: 12px; font-size: 11px; font-weight: 700;
    box-shadow: 0 2px 6px rgba(247,82,41,0.3);
}
.combo-name { color: #333; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.combo-time { font-size: 13px; color: #002B5B; font-weight: 600; margin-bottom: 4px; }
.combo-days { font-size: 11px; color: #888; margin-bottom: 8px; }
.combo-price { font-size: 17px; font-weight: 700; color: #f75229; margin-bottom: 10px; }
.combo-price small { font-size: 11px; font-weight: 400; }
.btn-combo-select {
    background: #002B5B; color: white; border: none;
    padding: 10px; border-radius: 8px; font-weight: 600; width: 100%;
    transition: background 0.2s;
}
.btn-combo-select:hover { background: #001f3f; }

/* Room cards */
.room-card { transition: box-shadow 0.2s; }
.room-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.room-img img { width: 100%; height: 200px; object-fit: cover; }
.bed_room { padding: 20px; }
.room h3 { color: #002B5B; }
.price-tag { color: #f75229 !important; font-size: 18px !important; font-weight: 700 !important; }
.schedule-box {
    background: #fff5f5; border-radius: 8px; padding: 12px;
    margin: 12px 0; font-size: 13px; max-height: 150px; overflow-y: auto;
}
.schedule-box .hold { color: #e67e00; font-weight: 600; }
.schedule-box .booked { color: #dc3545; font-weight: 600; }
.schedule-box .empty { color: #28a745; font-weight: 600; text-align: center; }
.btn-book-room {
    background: #f75229; border: none; color: white;
    padding: 12px 24px; border-radius: 8px; font-weight: 600;
    width: 100%; transition: all 0.2s;
}
.btn-book-room:hover { background: #e04825; transform: translateY(-1px); }

/* Modal */
.modal-header { border-radius: 0 !important; }
.modal-content { border-radius: 12px; border: none; }
.form-control:focus { border-color: #00c3ff; box-shadow: 0 0 0 3px rgba(0,195,255,0.15); }
#bookingModal {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}
#bookingModal .btn-primary { background: #f75229; border: none; padding: 14px 32px; font-weight: 700; font-size: 15.5px; }
#bookingModal .btn-primary:hover { background: #e04825; }

/* Booking Modal Mobile Full-Scroll Support */
@media (max-width: 991.98px) {
    #bookingModal {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #bookingModal .modal-dialog {
        margin: 10px auto 60px !important;
        max-width: calc(100vw - 16px) !important;
        width: calc(100vw - 16px) !important;
    }
    #bookingModal .modal-content {
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        display: block !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 40px rgba(0, 43, 91, 0.25) !important;
    }
    #bookingModal form#bookingForm {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }
    #bookingModal .modal-body {
        overflow: visible !important;
        max-height: none !important;
        height: auto !important;
        padding: 18px 16px !important;
    }
    #bookingModal .modal-footer {
        display: block !important;
        position: relative !important;
        padding: 18px 16px 30px !important;
        background: #fafbfc;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }
    #bookingModal .modal-header {
        border-top-left-radius: 16px !important;
        border-top-right-radius: 16px !important;
    }
    #bookingModal #modalQrView,
    #bookingModal #modalSuccessView {
        overflow: visible !important;
        max-height: none !important;
        height: auto !important;
    }
}

/* Loading states */
.loading-skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: loading 1.5s infinite; border-radius: 4px; }
@keyframes loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Overnight info */
.overnight-info {
    background: #e8f4fd; border: 1px solid #bee5eb; border-radius: 8px;
    padding: 12px; margin-top: 8px; font-size: 13px;
}
.overnight-info i { color: #00c3ff; margin-right: 6px; }
.d-none { display: none !important; }

/* ==================== VISUAL BRANCH SELECTOR & ROOM TYPE CHIPS ==================== */
.branch-section-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #002B5B;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.branch-select-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.branch-card-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    user-select: none;
    text-align: left;
}

.branch-card-btn:hover {
    border-color: #00c3ff;
    background: #f8fbff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 195, 255, 0.12);
}

.branch-card-btn.active {
    background: #002B5B;
    border-color: #002B5B;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 43, 91, 0.25);
}

.branch-card-btn .b-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #002B5B;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.branch-card-btn.active .b-name {
    color: #ffffff;
}

.branch-card-btn .b-sub {
    font-size: 11.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.branch-card-btn.active .b-sub {
    color: #cbd5e1;
}

.branch-card-btn .b-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #475569;
}

.branch-card-btn.active .b-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Branch disabled for combo */
.branch-card-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    pointer-events: none;
}

/* Room Type Filter Chips */
.room-type-chips-wrapper {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #cbd5e1;
}

.room-type-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.room-type-chips-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    padding-top: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.room-type-chips-scroll::-webkit-scrollbar {
    height: 4px;
}
.room-type-chips-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.type-chip-btn {
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.type-chip-btn:hover {
    border-color: #f75229;
    color: #f75229;
    background: #fff8f6;
}

.type-chip-btn.active {
    background: linear-gradient(135deg, #f75229, #ff7a45);
    border-color: #f75229;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(247, 82, 41, 0.3);
}

.type-chip-btn .chip-count {
    font-size: 10.5px;
    padding: 1px 6px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 700;
}

.type-chip-btn.active .chip-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .branch-select-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .branch-select-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .branch-card-btn {
        padding: 8px 10px;
    }
    .branch-card-btn .b-name {
        font-size: 12px;
    }
    .branch-card-btn .b-sub {
        font-size: 10.5px;
    }
    .branch-card-btn .b-badge {
        font-size: 9.5px;
        padding: 1px 4px;
    }
    .type-chip-btn {
        padding: 6px 11px;
        font-size: 11.5px;
    }
}