/* ============================================================
   RSBV1 Traveler Portal — Highly Polished Airbnb/Goibibo Theme
   ============================================================ */

:root {
    --primary: #0a314d;
    --primary-dark: #062135;
    --primary-light: #1e4d70;
    --accent: #8B6914;
    --accent-light: #B8941E;
    --success: #10b981;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;
    --text-inverse: #ffffff;
    --bg-main: #f8fafc;
    --border-light: #e2e8f0;
    
    --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

body {
    font-family: var(--font-family);
    background: #ffffff;
    color: var(--text-main);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
}

/* Frosted transparent navbar */
.header-nav {
    background: #ffffff;
    padding: 0 var(--space-10);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 66px;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.header-brand .material-icons {
    font-size: 28px;
    color: var(--accent);
}
.header-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.header-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 22px 0 6px;
    position: relative;
    white-space: nowrap;
}
.header-link:hover {
    color: var(--text-main);
}
.header-link.active {
    color: var(--text-main);
    font-weight: 700;
}
.header-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #222222;
    border-radius: 1px;
}

/* Custom premium search badge in hero */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
    backdrop-filter: blur(4px);
}
.hero-badge .material-icons {
    font-size: 14px;
    color: var(--accent-light);
}

/* Hero Section */
/* Horizontal Destination Card Slider (Airbnb Style Hero) */
.hero-slider-section {
    position: relative;
    max-width: calc(100% - 40px);
    margin: var(--space-4) auto 0;
    padding: 0;
    height: 520px;
    overflow: hidden;
}
.slider-container-mask {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Clips horizontal overflow track */
}
.slider-track {
    display: flex;
    gap: var(--space-6);
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    padding-left: var(--space-2);
}
.slider-card {
    flex: 0 0 calc(45% - 12px); /* Airbnb pattern: Card 1 + Card 2 + Card 3 peek */
    height: 100%;
    border-radius: var(--radius-2xl);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(10,49,77,0.06);
    background-color: #f8fafc; /* placeholder color while loading */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.slider-card:hover {
    transform: scale(1.015);
    box-shadow: 0 20px 40px rgba(10,49,77,0.14);
}
.slider-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(10,49,77,0.4) 50%, rgba(10,49,77,0.92) 100%);
    z-index: 1;
}
.slider-card-content {
    position: absolute;
    bottom: 170px; /* Shifted higher up */
    left: var(--space-8);
    right: var(--space-8);
    z-index: 2;
    color: #ffffff;
    text-align: left;
    transition: transform 0.4s ease;
}
.slider-card:hover .slider-card-content {
    transform: translateY(-4px);
}
.slider-card-badge {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-block;
    margin-bottom: var(--space-2);
}
.slider-card-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.slider-card-desc {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin: 4px 0 0;
    font-weight: 500;
    color: #f1f5f9;
}

/* Left & Right Arrow controls floating over the slider edges */
/* Slider dot navigation indicators */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-4);
    margin-bottom: var(--space-6);
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider-dot:hover {
    background: #94a3b8;
}
.slider-dot.active {
    background: var(--primary);
    width: 28px; /* elongated active pill */
    border-radius: 6px;
}

/* Today / Tomorrow Quick Pick Date Chips */
.date-chip {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    outline: none;
}
.date-chip:hover, .date-chip.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 6px rgba(10,49,77,0.12);
}

/* Floating Search Widget overlap container with deep top 1% shadow */
.search-panel-container {
    position: sticky;
    top: 66px;
    z-index: 90;
    margin-top: -150px;
    padding: 0 var(--space-12);
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    transition: max-width 0.3s ease, padding 0.3s ease;
}
.search-panel-container.stuck {
    max-width: 100%;
    padding: 0 var(--space-8);
}
.search-panel-container .search-widget {
    box-shadow: 0 24px 64px rgba(6, 33, 53, 0.2), 0 8px 24px rgba(6, 33, 53, 0.08);
    border: 1.5px solid rgba(226, 232, 240, 0.95);
    background: #ffffff;
    transition: border-radius 0.3s ease;
}
.search-panel-container.stuck .search-widget {
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Highly Polished Search Console Card */
.search-console {
    background: #ffffff;
    border-radius: 100px;
    padding: 6px;
    max-width: 900px;
    margin: 0 auto -96px;
    box-shadow: 0 20px 48px rgba(10, 49, 77, 0.15), 0 4px 16px rgba(10, 49, 77, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.95);
    position: relative;
    z-index: 10;
}
.search-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search-group {
    flex: 1;
    position: relative;
    padding: 10px 24px;
    text-align: left;
    transition: all 0.2s ease;
    border-radius: var(--radius-full);
}
.search-group:hover {
    background: #f1f5f9;
}
.search-divider {
    height: 32px;
    width: 1px;
    background: #e2e8f0;
    flex-shrink: 0;
}
.search-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
.search-input-select {
    width: 100%;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: var(--text-sm);
    color: var(--text-main);
    font-weight: 700;
    padding: 2px 0;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0px center;
    padding-right: 20px;
}
.search-input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: var(--text-sm);
    color: var(--text-main);
    font-weight: 700;
    padding: 2px 0;
    outline: none;
    cursor: pointer;
}
.search-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.search-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.search-btn-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(10,49,77,0.3);
    margin-right: 4px;
    flex-shrink: 0;
}
.search-btn-circle:hover {
    background: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(139,105,20,0.45);
}

/* Inspirational Stays Section */
.locations-section {
    padding: 140px var(--space-12) var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    margin-bottom: var(--space-8);
    display: block;
    text-align: left;
}
.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    margin: 0;
}
.section-subtitle {
    font-size: var(--text-base);
    color: var(--text-light);
    margin-top: 6px;
    font-weight: 500;
}

/* Location Card Grid (Airbnb Style) */
.location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}
.location-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: block;
}
.location-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(10,49,77,0.08);
    border-color: rgba(10,49,77,0.15);
}
.location-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.location-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.location-card:hover .location-img {
    transform: scale(1.04);
}
.location-count-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.location-content {
    padding: var(--space-4) var(--space-5);
}
.location-name {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-main);
}
.location-meta {
    font-size: var(--text-xs);
    color: var(--text-light);
    margin-top: 4px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Listings Container */
.listing-container {
    max-width: 1200px;
    margin: var(--space-10) auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-8);
}

/* Sidebar Filters */
.filters-sidebar {
    background: #ffffff;
    border-radius: 20px;
    padding: var(--space-6);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    height: fit-content;
    position: sticky;
    top: 100px;
}
.filter-section {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-4);
}
.filter-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.filter-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.filter-option {
    display: flex;
    align-items: center;
    gap: var(--space-2-5);
    font-size: var(--text-sm);
    color: #334155;
    margin-bottom: var(--space-2-5);
    cursor: pointer;
    font-weight: 500;
}
.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Listings grid card items */
.guesthouse-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    transition: all 0.3s ease;
    margin-bottom: var(--space-5);
}
.guesthouse-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(10,49,77,0.06);
    border-color: rgba(10,49,77,0.12);
}
.card-img-wrapper {
    width: 320px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.guesthouse-card:hover .card-img {
    transform: scale(1.04);
}
.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.card-body {
    padding: var(--space-6);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-name {
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.card-name:hover {
    color: var(--accent);
}
.card-address {
    font-size: var(--text-xs);
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-weight: 500;
}
.card-address .material-icons {
    font-size: 15px;
    color: var(--accent);
}
.card-features {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
    flex-wrap: wrap;
}
.feature-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: #475569;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(226, 232, 240, 0.6);
    font-weight: 600;
}
.feature-badge .material-icons {
    font-size: 14px;
    color: var(--primary);
}
.card-bottom-row {
    border-top: 1px solid #f1f5f9;
    padding-top: var(--space-4);
    margin-top: var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.price-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}
.view-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: var(--text-xs);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}
.view-btn:hover {
    background: var(--accent);
}

/* Detail page visual gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3);
    border-radius: 24px;
    overflow: hidden;
    height: 420px;
    margin-bottom: var(--space-8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}
.gallery-main {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-3);
    height: 100%;
}
.gallery-thumb {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Details Header Card */
.gh-info-header {
    background: #ffffff;
    border-radius: 20px;
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
}
.gh-name {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* Pricing Switcher Banner */
.pricing-context-card {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pricing-selector {
    display: flex;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-full);
    padding: 2px;
    box-shadow: var(--shadow-sm);
}
.selector-btn {
    border: none;
    background: none;
    padding: 8px 20px;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-light);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}
.selector-btn.active {
    background: var(--primary);
    color: #ffffff;
}

/* Tabs */
.details-tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: var(--space-6);
    gap: var(--space-8);
}
.tab-nav {
    padding: var(--space-3) 0;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}
.tab-nav.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.tab-pane {
    display: none;
    background: #ffffff;
    border-radius: 20px;
    padding: var(--space-6) var(--space-8);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: var(--space-8);
}
.tab-pane.active {
    display: block;
}

/* Accordion Room Options */
.room-acc-item {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-xl);
    background: #ffffff;
    margin-bottom: var(--space-3);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.room-acc-header {
    padding: var(--space-4) var(--space-5);
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
.room-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-lg);
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}
.room-name {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--primary);
}
.room-price-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}
.room-acc-body {
    display: none;
    padding: var(--space-5) var(--space-6);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    background: #ffffff;
}
.room-acc-body.active {
    display: block;
}
.book-room-btn {
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    font-size: var(--text-xs);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(139,105,20,0.25);
    transition: all 0.2s ease;
}
.book-room-btn:hover {
    background: var(--accent-light);
}

/* Checkout Page */
.checkout-grid {
    max-width: 1100px;
    margin: var(--space-10) auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-8);
}
.checkout-card {
    background: #ffffff;
    border-radius: 20px;
    padding: var(--space-6);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: var(--space-5);
}
.card-title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: var(--space-3);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.form-label {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-input {
    height: 44px;
    padding: 0 var(--space-4);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: var(--text-sm);
    background: var(--input-bg);
    transition: all var(--transition-base);
}
.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10,49,77,0.1);
}
.payment-option-card {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-5);
    margin-top: var(--space-4);
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.payment-option-card.active {
    border-color: var(--success);
    background: #f0fdf4;
}

/* Billing Side widget */
.billing-summary {
    background: #ffffff;
    border-radius: 20px;
    padding: var(--space-6);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    height: fit-content;
    position: sticky;
    top: 100px;
}
.bill-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
    color: #475569;
    margin-bottom: var(--space-3);
    font-weight: 500;
}
.bill-total-row {
    border-top: 1px solid #f1f5f9;
    padding-top: var(--space-4);
    margin-top: var(--space-4);
    display: flex;
    justify-content: space-between;
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--primary);
}
.confirm-btn {
    width: 100%;
    height: 48px;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    margin-top: var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    box-shadow: 0 4px 12px rgba(139,105,20,0.3);
    transition: all 0.2s ease;
}
.confirm-btn:hover {
    background: var(--accent-light);
}

/* Success overlays */
.success-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,49,77,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
}
.success-overlay.active {
    display: flex;
}
.success-card {
    background: #ffffff;
    border-radius: 20px;
    padding: var(--space-8);
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #d1fae5;
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
}

/* Features/Services Section */
.features-row {
    max-width: 1200px;
    margin: var(--space-16) auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}
.feature-box {
    background: #ffffff;
    border-radius: 20px;
    padding: var(--space-6) var(--space-8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}
.feature-icon-wrapper .material-icons {
    font-size: 26px;
}
.feature-box-title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.feature-box-desc {
    font-size: var(--text-xs);
    color: var(--text-light);
    line-height: var(--leading-relaxed);
}

/* Modern light footer (similar to Airbnb's minimal light-grey footer) */
.footer {
    background: #f7f9fa;
    color: #475569;
    padding: var(--space-16) var(--space-12) var(--space-8);
    margin-top: var(--space-20);
    border-top: 1px solid #e2e8f0;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto var(--space-10);
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-8);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-3);
    letter-spacing: -0.02em;
}
.footer-logo .material-icons {
    color: var(--accent);
    font-size: 28px;
}
.footer-desc {
    font-size: var(--text-xs);
    color: var(--text-light);
    line-height: var(--leading-relaxed);
    max-width: 320px;
}
.footer-heading {
    font-size: var(--text-xs);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-list li {
    margin-bottom: var(--space-2);
}
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: var(--text-xs);
    font-weight: 600;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--primary);
}
.footer-copy {
    font-size: var(--text-xs);
    color: var(--text-light);
    border-top: 1px solid #e2e8f0;
    padding-top: var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Details Page Layout Structure */
.details-container {
    max-width: 1100px;
    margin: var(--space-8) auto;
    padding: 0 var(--space-6);
}
.gh-address {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #64748b;
    font-size: var(--text-sm);
    font-weight: 500;
}
.gh-address .material-icons {
    font-size: 18px;
    color: var(--accent);
}
.gh-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: #64748b;
    font-size: var(--text-sm);
    font-weight: 500;
}
.gh-contact .material-icons {
    font-size: 18px;
    color: var(--primary);
}

/* Amenities List Grid */
.amenities-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-4);
}
.amenity-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-sm);
    color: #475569;
    font-weight: 500;
}
.amenity-badge-item .material-icons {
    font-size: 20px;
    color: var(--primary);
}

/* Accordion Room Header Alignments */
.room-title-section {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}
.room-category-label {
    font-size: var(--text-xs);
    color: var(--text-light);
    font-weight: 600;
    margin-top: 2px;
}
..room-price-col {
    text-align: right;
}

/* --- Design System Property Card Base --- */
.property-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-base);
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.property-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.property-card-img {
    aspect-ratio: 16 / 10;
    width: 100%;
    background-color: var(--bg-dark);
    background-size: cover;
    background-position: center;
    object-fit: cover;
}
.property-card-body {
    padding: var(--space-4) var(--space-4) var(--space-3);
    flex: 1;
}
.property-card-body h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin: 0 0 var(--space-1);
    line-height: var(--leading-tight);
}
.property-card-body p {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0;
    line-height: var(--leading-normal);
}
.property-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--accent);
    margin-bottom: var(--space-2);
    font-weight: 700;
}
.property-card-rating .material-icons {
    font-size: 14px;
    color: var(--accent);
}
.property-card-footer {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-4) var(--space-4);
    border-top: 1px solid var(--border-light);
    background: var(--bg-alt);
}

/* Property Card Variant A - Tariff Comparison */
.property-card--variant-a .pricing-comparison {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-4);
    padding: 0;
}
.property-card--variant-a .pricing-tier {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.property-card--variant-a .pricing-tier:first-child {
    align-items: flex-start;
}
.property-card--variant-a .pricing-tier:last-child {
    align-items: flex-end;
}
.property-card--variant-a .pricing-price {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.property-card--variant-a .pricing-price.defense {
    color: #0f172a;
}
.property-card--variant-a .pricing-price.civilian {
    color: #64748b;
}
.property-card--variant-a .pricing-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
}
.property-card--variant-a .pricing-label.defense {
    color: #0d9488;
}
.property-card--variant-a .pricing-label.civilian {
    color: #94a3b8;
}
.property-card--variant-a .pricing-unit {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2px;
}
.property-card--variant-a .btn-action {
    display: block;
    width: 100%;
    background: #1d4ed8;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 16px;
    margin-top: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    box-shadow: 0 4px 12px rgba(29,78,216,0.3);
}
.property-card--variant-a .btn-action:hover {
    background: #1e40af;
    box-shadow: 0 6px 18px rgba(29,78,216,0.4);
    transform: translateY(-1px);
}
.property-card--variant-a .btn-action:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(29,78,216,0.3);
}

/* Suggestion Dropdown Hover States */
.suggestion-item:hover {
    background-color: #f8fafc !important;
    color: var(--primary) !important;
}

/* --- Layout Grid/List Switcher Styles --- */
.listings-container {
    transition: all 0.3s ease;
    width: 100%;
}
.listings-container.layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
    justify-items: center;
}
.listings-container.layout-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    align-items: stretch;
    width: 100%;
}
.property-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

/* Horizontal List Card Transformation */
.listings-container.layout-list .property-card {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    width: 100%;
    height: 200px;
    border-radius: var(--radius-xl);
}
.listings-container.layout-list .property-card .property-card-img {
    width: 280px;
    height: 100%;
    min-width: 280px;
    aspect-ratio: auto;
    object-fit: cover;
}
.listings-container.layout-list .property-card .property-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    justify-content: space-between;
}
.listings-container.layout-list .property-card .property-card-body {
    padding: var(--space-4) var(--space-5) 0;
    flex: 1;
}
.listings-container.layout-list .property-card .property-card-body h4 {
    font-size: 18px;
}
.listings-container.layout-list .property-card .property-card-body p {
    font-size: 13px;
    margin-top: 4px;
}
.listings-container.layout-list .property-card .property-card-rating {
    margin-bottom: 6px;
}
.listings-container.layout-list .property-card .property-card-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-5) var(--space-4);
    border-top: 1px solid var(--border-light);
    background: var(--bg-alt);
    margin-top: auto;
}
.listings-container.layout-list .property-card .pricing-comparison {
    gap: var(--space-5);
}
.listings-container.layout-list .property-card .btn-action {
    width: auto;
    margin-top: 0;
    padding: 10px 24px;
    font-size: 14px;
}

/* Slick Search Input Styling */
.search-input-slick {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #222222;
}
.search-input-slick::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

/* Sleek Compact Search Widget Overrides */
.search-widget--compact {
    padding: 10px 18px !important;
}
.search-widget--compact .form-label {
    margin-bottom: 3px !important;
    font-size: 10px !important;
}
.search-widget--compact .form-input,
.search-widget--compact select.form-input {
    height: 40px !important;
    font-size: 13px !important;
    padding-left: 12px !important;
}
.search-widget--compact .form-group > div {
    height: 40px !important;
}
.search-widget--compact .material-icons {
    font-size: 18px !important;
}
.search-widget--compact .form-group div > .material-icons {
    top: 11px !important; /* Vertically center 18px icon inside 40px input: (40-18)/2 = 11px */
}
.search-widget--compact .search-actions {
    margin-top: 10px !important;
}
.search-widget--compact .btn-primary {
    padding: 8px 20px !important;
    font-size: 13px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: var(--radius-md) !important;
}
.search-widget--compact .btn-primary .material-icons {
    font-size: 18px !important;
}

/* Stuck state overrides for search.html to match the stay listing compact search bar style */
.search-panel-container.stuck {
    max-width: 100% !important;
    padding: 0 var(--space-10) !important;
}
.search-panel-container.stuck .search-widget {
    padding: 10px 18px !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    border: 1px solid var(--border-light) !important;
}
.search-panel-container.stuck .search-widget .form-label {
    margin-bottom: 3px !important;
    font-size: 10px !important;
}
.search-panel-container.stuck .search-widget .form-input,
.search-panel-container.stuck .search-widget select.form-input {
    height: 40px !important;
    font-size: 13px !important;
    padding-left: 12px !important;
}
.search-panel-container.stuck .search-widget .form-group > div {
    height: 40px !important;
}
.search-panel-container.stuck .search-widget .material-icons {
    font-size: 18px !important;
}
.search-panel-container.stuck .search-widget .form-group div > .material-icons {
    top: 11px !important;
}
.search-panel-container.stuck .search-widget .search-actions {
    margin-top: 10px !important;
}
.search-panel-container.stuck .search-widget .btn-primary {
    padding: 8px 20px !important;
    font-size: 13px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: var(--radius-md) !important;
}
.search-panel-container.stuck .search-widget .btn-primary .material-icons {
    font-size: 18px !important;
}

/* Dropdown Menu Item Hover States */
.dropdown-menu-item:hover {
    background-color: #f8fafc !important;
    color: var(--primary) !important;
}

/* Card Favorite Button */
.fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    display: none; /* Shown dynamically via JS when logged in */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease;
    outline: none;
    padding: 0;
}
.fav-btn:hover {
    transform: scale(1.08) !important;
    background: #ffffff !important;
}
.fav-btn:active {
    transform: scale(0.92) !important;
}
