body {
    /* Soft gradient background similar to the screenshot */
    background: linear-gradient(135deg, #e0fdfd 0%, #fcffe0 100%);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.search-header {
    text-align: center;
    padding: 40px 20px 20px 20px;
}
.search-title {
    color: #272fbd;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .filter-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: stretch;
    }
    .filter-bar > .search-input-wrapper {
        grid-column: 1 / -1;
        max-width: 100% !important;
    }
    .filter-bar > .btn-main-apply {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 5px;
    }
    .filter-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 5px;
    }
    .filter-bar > .filter-btn:nth-child(6) {
        grid-column: 1 / -1;
    }
}
.quick-suggestions {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.suggestion-chip {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: #e2e8f0; /* Default pill background */
    color: #4a5568;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;
}
.suggestion-chip:hover {
    background: #cbd5e1;
}
.suggestion-chip.active {
    background: #e0fdfd; /* Active background */
    color: #0d9488;
    border: 1px solid #0d9488;
}
.filter-btn {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 14px;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
    position: relative;
}
.filter-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.filter-btn.is-selected {
    background: #1a202c;
    color: white;
    border-color: #1a202c;
}
.filter-btn.is-selected i,
.filter-btn.is-selected svg,
.filter-btn.is-selected [data-lucide] {
    color: #ffffff !important;
    stroke: #ffffff !important;
}
.filter-btn select {
    display: none; /* Hide native select, we'll use custom UI */
}

/* Custom Dropdown UI */
.custom-dropdown {
    position: relative;
    display: inline-block;
}
.custom-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    outline: none;
    color: #0f172a;
    font-weight: 600;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}
.filter-btn.is-selected .custom-dropdown-trigger {
    color: white;
}
.custom-dropdown-trigger::after {
    content: '▼';
    font-size: 10px;
    color: #94a3b8;
    margin-left: 4px;
    transition: transform 0.2s ease;
}
.filter-btn.is-selected .custom-dropdown-trigger::after {
    color: rgba(255,255,255,0.7);
}
.filter-btn.active .custom-dropdown-trigger::after {
    transform: rotate(180deg);
}
.clear-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    margin-left: 2px;
    font-size: 12px;
    color: white;
    line-height: 1;
}
.clear-filter:hover {
    background: rgba(255,255,255,0.4);
}
.custom-dropdown-options {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
    overflow: hidden;
}
@media (max-width: 768px) {
    .custom-dropdown-options {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90vw;
        max-width: 320px;
        z-index: 99999;
        max-height: 80vh;
        overflow-y: auto;
    }
    .filter-btn.active .custom-dropdown-options {
        transform: translate(-50%, -50%) !important;
    }
    .filter-btn.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 99998;
        cursor: default;
    }
}
.filter-btn.active .custom-dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.custom-option {
    padding: 12px 16px;
    color: #4a5568;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.custom-option:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.custom-option.selected {
    background: #f0fdfa;
    color: #0d9488;
    font-weight: 600;
}
.custom-option.selected::after {
    content: '✓';
    font-weight: bold;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 20px 20px;
    max-width: 1300px;
}
.section-container {
    max-width: 1300px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}
@media(min-width: 1200px) {
    .room-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.room-card {
    background: #fcdf53; /* Tone màu vàng cũ */
    border-radius: 12px;
    border: 2px solid #65E0FF; /* Viền sáng theo yêu cầu */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s transform;
    text-decoration: none;
    padding: 5px; /* Viền bao bọc xung quanh ảnh */
}
.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.room-img-wrap {
    position: relative;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
}
.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-body {
    padding: 15px 10px 5px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.room-type {
    color: #272fbd;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.room-title {
    color: #1a202c;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.room-amenities {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: auto;
}
.amenity-item {
    color: #272fbd;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.room-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(39, 47, 189, 0.1);
}
.room-price {
    color: #272fbd;
    font-weight: 800;
    font-size: 16px;
}

/* Price Slider Styles */
.multi-range-slider {
    position: relative;
    width: 100%;
    height: 30px;
    margin-top: 5px;
}
.multi-range-slider input[type="range"] {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    z-index: 2;
    height: 100%;
    margin: 0;
    top: 0;
}
.multi-range-slider input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #272fbd;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px; /* align with track */
}
.multi-range-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}
.multi-range-slider .slider-track-bg {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
    z-index: 1;
}
.multi-range-slider .slider-track {
    position: absolute;
    height: 4px;
    background: #272fbd;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
    z-index: 1;
}
.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.price-inputs div {
    flex: 1;
}
.price-inputs label {
    font-size: 12px;
    color: #4a5568;
    display: block;
    margin-bottom: 4px;
}
.price-inputs input[type="text"] {
    width: 100%;
    padding: 6px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.pagination-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-bottom: 20px;
}
.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.page-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.page-item.active {
    background: #272fbd;
    color: white;
    border-color: #272fbd;
}
.page-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}
