/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Refined Color Palette — Luxury Travel */
    --primary-color: #1a3c5e;      /* Deep Ink Navy */
    --primary-dark: #0e1f33;       /* Midnight */
    --secondary-color: #4a90b8;    /* Lake Blue */
    --accent-color: #d4864c;       /* Aged Copper */
    --accent-warm: #c47a3f;        /* Warm Copper */
    
    --text-dark: #1e2a36;          /* Deep Ink */
    --text-medium: #4a5568;        /* Slate */
    --text-light: #718096;         /* Storm Grey */
    --text-muted: #a0aec0;        /* Fog */
    --bg-light: #f7f8fa;          /* Dove */
    --surface-1: #ffffff;
    --surface-2: #fafbfc;
    --surface-3: #edf2f7;
    --surface-warm: #faf8f5;      /* Warm White */
    --border-subtle: rgba(26, 60, 94, 0.10);
    --border-medium: rgba(26, 60, 94, 0.18);
    --focus-ring: 0 0 0 3px rgba(74, 144, 184, 0.25);
    --white: #ffffff;
    
    /* Layered Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 28px 56px -12px rgba(0, 0, 0, 0.18);
    --shadow-glow: 0 0 40px rgba(212, 134, 76, 0.15);
    
    --border-radius: 8px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background: #f4f5f7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    position: relative;
    /* iPhone safe areas */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Subtle grain texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px;
}

/* Atmospheric background */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse at 15% 8%, rgba(74, 144, 184, 0.12), transparent 40%),
        radial-gradient(ellipse at 85% 15%, rgba(26, 60, 94, 0.08), transparent 35%),
        radial-gradient(ellipse at 50% 85%, rgba(212, 134, 76, 0.06), transparent 40%),
        linear-gradient(175deg, #f0f2f5 0%, #eaecf0 30%, #f4f5f7 60%, #f7f8fa 100%);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    line-height: 1.2;
    font-weight: 600;
}

p {
    color: var(--text-light);
}

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
}

a, button, input, select, textarea {
    transition: var(--transition);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 1px 0 rgba(26, 60, 94, 0.06);
    border-bottom: 1px solid rgba(26, 60, 94, 0.05);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    transition: background-color 0.32s ease, box-shadow 0.32s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 24px rgba(14, 31, 51, 0.08);
    border-bottom-color: rgba(26, 60, 94, 0.12);
}

.header.scrolled::after {
    background: linear-gradient(90deg, transparent, rgba(26, 60, 94, 0.08), transparent);
}

.header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: transparent;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    transition: padding 0.32s ease;
}

.header.scrolled .container {
    padding: 8px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color 0.25s ease, background 0.25s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(26, 60, 94, 0.05);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.my-offers-badge {
    background: var(--accent-color);
    color: #fff;
    font-weight: 700;
    font-size: 0.66rem;
    padding: 2px 7px;
    border-radius: 999px;
    margin-left: 4px;
    vertical-align: top;
    border: none;
}

.user-greeting {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.admin-link {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    border-radius: 999px;
    border: none;
    box-shadow: 0 2px 8px rgba(26, 60, 94, 0.2);
}

.admin-link:hover {
    background: #132f4a;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(26, 60, 94, 0.28);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section - Cinematic Slideshow */
.hero {
    height: 560px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 58px;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-slides {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.05s ease-in-out;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurns 3.1s ease-in-out forwards;
}

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1%, -1%); }
}

/* Alternate zoom directions for variety */
.hero-slide:nth-child(2).active { animation-name: kenBurns2; }
.hero-slide:nth-child(3).active { animation-name: kenBurns3; }
.hero-slide:nth-child(4).active { animation-name: kenBurns4; }
.hero-slide:nth-child(5).active { animation-name: kenBurns5; }

@keyframes kenBurns2 {
    0% { transform: scale(1.05) translate(1%, 0); }
    100% { transform: scale(1) translate(0, 1%); }
}
@keyframes kenBurns3 {
    0% { transform: scale(1) translate(0, 1%); }
    100% { transform: scale(1.1) translate(1%, -1%); }
}
@keyframes kenBurns4 {
    0% { transform: scale(1.08) translate(-1%, -1%); }
    100% { transform: scale(1) translate(0, 0); }
}
@keyframes kenBurns5 {
    0% { transform: scale(1) translate(1%, 1%); }
    100% { transform: scale(1.06) translate(-1%, 0); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        170deg,
        rgba(14, 31, 51, 0.55) 0%,
        rgba(14, 31, 51, 0.35) 40%,
        rgba(14, 31, 51, 0.65) 100%
    );
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 60%, transparent 30%, rgba(0, 0, 0, 0.15) 100%),
        linear-gradient(180deg, transparent 60%, rgba(14, 31, 51, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 36px 40px 32px;
    max-width: 620px;
    border-radius: var(--radius-xl);
    background: rgba(14, 31, 51, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px) saturate(1.2);
    -webkit-backdrop-filter: blur(8px) saturate(1.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    animation: heroTextIn 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    opacity: 1;
    font-weight: 300;
    max-width: 480px;
    margin: 0 auto;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.03em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
    animation: heroTextIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-content.switching h1,
.hero-content.switching p {
    animation: heroTextOut 0.5s ease-in forwards;
}

@keyframes heroTextIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroTextOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.hero-dot.active {
    background: var(--white);
    width: 28px;
    border-radius: 4px;
}

.hero-dot:hover:not(.active) {
    background: rgba(255,255,255,0.6);
}

/* Hero Progress Bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.08);
    z-index: 3;
}

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-warm));
    transition: width 0.1s linear;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Section */
.search-section {
    margin-top: -48px;
    position: relative;
    z-index: 10;
    padding: 0 24px;
}

.search-section .container {
    position: relative;
}

.search-section .container::before {
    content: '';
    position: absolute;
    inset: -10px -12px;
    z-index: -1;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(26, 60, 94, 0.06), rgba(74, 144, 184, 0.04));
    filter: blur(0.5px);
}

.search-box {
    background: var(--surface-1);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    padding: 28px 32px;
    overflow: visible;
}

.search-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 20px;
    align-items: end;
    overflow: visible;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: visible;
}

.search-field label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-field label i {
    color: var(--accent-color);
    font-size: 0.72rem;
}

.search-field select,
.search-field input {
    padding: 13px 16px;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: var(--transition);
    background: var(--surface-2);
    color: var(--text-dark);
    width: 100%;
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(74, 144, 184, 0.1);
}

/* Location Autocomplete */
.location-autocomplete {
    position: relative;
    width: 100%;
    z-index: 50;
}

.location-autocomplete.open {
    z-index: 120;
}

.location-autocomplete input {
    padding-right: 36px;
}

.location-autocomplete.open input {
    border-color: var(--secondary-color);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    box-shadow: 0 0 0 3px rgba(50, 130, 184, 0.1);
}

.location-autocomplete::after {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.8rem;
    pointer-events: none;
    transition: color 0.2s;
}

.location-autocomplete.open::after {
    color: var(--secondary-color);
}

.autocomplete-list {
    position: absolute;
    top: calc(100% - 1px);
    left: -1px;
    right: -1px;
    background: var(--white);
    border: 1px solid var(--secondary-color);
    border-top: 1px solid var(--border-subtle);
    border-radius: 0 0 12px 12px;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
    z-index: 120;
    display: none;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
    animation: acSlideDown 0.18s ease-out;
}

@keyframes acSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.autocomplete-list.active {
    display: block;
}

.autocomplete-list .ac-heading {
    padding: 8px 16px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    pointer-events: none;
}

.autocomplete-list li {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.12s, padding-left 0.15s;
    border-radius: 0;
}

.autocomplete-list li .ac-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--surface-1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

.autocomplete-list li .ac-icon i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.autocomplete-list li .ac-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.autocomplete-list li .ac-text .ac-name {
    font-weight: 500;
    font-size: 0.92rem;
}

.autocomplete-list li .ac-text .ac-sub {
    font-size: 0.78rem;
    color: var(--text-light);
}

.autocomplete-list li:hover,
.autocomplete-list li.highlighted {
    background: var(--surface-1);
    padding-left: 20px;
}

.autocomplete-list li:hover .ac-icon,
.autocomplete-list li.highlighted .ac-icon {
    background: rgba(50, 130, 184, 0.12);
}

.autocomplete-list li .match {
    font-weight: 700;
    color: var(--primary-color);
}

.autocomplete-list li.all-locations {
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 2px;
    color: var(--text-light);
    font-size: 0.88rem;
}

.search-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-warm));
    color: var(--white);
    border: none;
    padding: 13px 36px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    height: fit-content;
    box-shadow: 0 4px 14px rgba(212, 134, 76, 0.3);
    letter-spacing: 0.02em;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 134, 76, 0.4);
    filter: brightness(1.08);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.filter-tag {
    background: rgba(74, 144, 184, 0.08);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(74, 144, 184, 0.12);
}

.filter-tag button {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.filter-tag button:hover {
    opacity: 1;
}

/* Results Info */
.results-info {
    padding: 14px 0 8px;
}

.results-info .container {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    backdrop-filter: none;
    box-shadow: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.results-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    text-shadow: none;
}

.clear-filters-btn {
    background: none;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.clear-filters-btn:hover {
    background: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
}

/* Map Toggle Button */
.results-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.map-toggle-btn {
    background: var(--surface-1);
    border: 1.5px solid var(--border-subtle);
    color: var(--text-dark);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.map-toggle-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.map-toggle-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Map Container */
.hotels-main.map-active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0;
}

.hotels-main.map-active .hotels-grid {
    grid-column: 1;
    grid-row: 1 / -1;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding-right: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-subtle) transparent;
}

.hotels-main.map-active .hotels-grid::-webkit-scrollbar {
    width: 5px;
}

.hotels-main.map-active .hotels-grid::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 10px;
}

.hotels-main.map-active .map-container {
    grid-column: 2;
    grid-row: 1 / -1;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    display: flex !important;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow);
}

.map-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 14px;
    background: var(--surface-1);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 10;
}

.map-close-btn {
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-close-btn:hover {
    background: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
}

#hotelMap {
    flex: 1;
    width: 100%;
    min-height: 0;
    z-index: 1;
}

/* Leaflet Price Marker */
.price-marker {
    background: var(--surface-1);
    border: 2px solid var(--primary-color);
    border-radius: 999px;
    padding: 4px 10px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(14, 31, 51, 0.18);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    line-height: 1.3;
    position: relative;
}

.price-marker::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--primary-color);
}

.price-marker:hover,
.price-marker.active {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.12);
    box-shadow: 0 4px 16px rgba(26, 60, 94, 0.3);
    z-index: 999 !important;
}

/* Leaflet Popup Styles */
.hotel-map-popup {
    font-family: var(--font-body);
    min-width: 240px;
    max-width: 280px;
}

.hotel-map-popup .popup-image {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    display: block;
}

.hotel-map-popup .popup-body {
    padding: 12px 14px;
}

.hotel-map-popup .popup-badge {
    display: inline-block;
    background: rgba(26, 60, 94, 0.08);
    color: var(--primary-color);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.hotel-map-popup .popup-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px;
    line-height: 1.25;
}

.hotel-map-popup .popup-location {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hotel-map-popup .popup-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hotel-map-popup .popup-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-dark);
    font-weight: 600;
}

.hotel-map-popup .popup-rating .stars {
    color: #f1c40f;
    font-size: 0.72rem;
}

.hotel-map-popup .popup-price {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
}

.hotel-map-popup .popup-price span {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-light);
}

.hotel-map-popup .popup-actions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
}

.hotel-map-popup .popup-book-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-warm));
    color: var(--white);
    border: none;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.78rem;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: filter 0.2s;
}

.hotel-map-popup .popup-book-btn:hover {
    filter: brightness(1.08);
}

/* Override Leaflet popup defaults */
.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 8px 28px rgba(14, 31, 51, 0.2) !important;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0 !important;
    min-width: 240px;
}

.leaflet-popup-tip {
    box-shadow: 0 4px 12px rgba(14, 31, 51, 0.1) !important;
}

/* Hotels Grid */
.hotels-section {
    padding: 40px 0 80px;
    position: relative;
}

.hotels-section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at 8% 20%, rgba(26, 60, 94, 0.04), transparent 35%),
        radial-gradient(ellipse at 92% 15%, rgba(74, 144, 184, 0.05), transparent 35%);
}

.hotels-section .container {
    position: relative;
    z-index: 1;
}

/* Hotels Layout — Sidebar + Grid */
.hotels-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

.hotels-main {
    min-width: 0;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

/* ============ Filter Sidebar ============ */
.filter-sidebar {
    background: var(--surface-1);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow);
    padding: 0;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.1) transparent;
}

.filter-sidebar::-webkit-scrollbar { width: 5px; }
.filter-sidebar::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 3px; }

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 2;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-header h3 i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.sidebar-reset-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.15s;
}

.sidebar-reset-btn:hover {
    background: rgba(50, 130, 184, 0.08);
}

/* Filter Groups */
.filter-group {
    border-bottom: 1px solid var(--border-subtle);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group-title {
    margin: 0;
    padding: 14px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.15s;
}

.filter-group-title:hover {
    background: var(--surface-1);
}

.filter-group-title i {
    font-size: 0.7rem;
    color: var(--text-light);
    transition: transform 0.2s;
}

.filter-group-title.collapsed i {
    transform: rotate(180deg);
}

.filter-group-content {
    padding: 0 20px 16px;
}

.filter-group-content.collapsed {
    display: none;
}

/* Checkboxes */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-dark);
    transition: color 0.15s;
    position: relative;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.filter-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s;
    background: var(--white);
}

.filter-checkbox input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox:hover .checkmark {
    border-color: var(--primary-color);
}

.filter-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-label i {
    width: 18px;
    text-align: center;
    color: var(--primary-color);
    font-size: 0.82rem;
}

.filter-count {
    font-size: 0.78rem;
    color: var(--text-light);
    min-width: 20px;
    text-align: right;
}

.stars-sm {
    display: inline-flex;
    gap: 1px;
}

.stars-sm i {
    font-size: 0.7rem;
    color: #f39c12;
    width: auto;
}

/* Price Range Slider */
.price-range-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.dual-range-slider {
    position: relative;
    height: 30px;
}

.dual-range-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: transparent;
    position: absolute;
    top: 12px;
    pointer-events: none;
    z-index: 2;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    pointer-events: auto;
}

.dual-range-slider input[type="range"]::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    pointer-events: auto;
}

.slider-track {
    position: absolute;
    top: 12px;
    height: 4px;
    width: 100%;
    border-radius: 2px;
    background: var(--border-subtle);
    z-index: 0;
}

.slider-track::after {
    content: '';
    position: absolute;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    left: var(--left, 0%);
    right: var(--right, 0%);
}

.price-quick-options {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.price-quick-btn {
    padding: 5px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    background: var(--white);
    font-size: 0.76rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.price-quick-btn:hover,
.price-quick-btn.active {
    border-color: var(--primary-color);
    background: rgba(15, 76, 117, 0.06);
    color: var(--primary-color);
}

/* Mobile filter button + overlay */
.mobile-filter-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(15, 76, 117, 0.35);
    gap: 8px;
    align-items: center;
}

.mobile-filter-btn i { font-size: 0.85rem; }

.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1190;
}

.filter-overlay.active {
    display: block;
}

@media (max-width: 900px) {
    .hotels-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        max-height: 100vh;
        z-index: 1200;
        border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
        transition: left 0.3s ease;
        border: none;
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
    }

    .filter-sidebar.open {
        left: 0;
    }

    .sidebar-header {
        border-radius: 0;
    }

    .mobile-filter-btn {
        display: flex;
    }

    .mobile-show-results-btn {
        display: block;
        width: calc(100% - 32px);
        margin: 16px;
        padding: 14px;
        border: none;
        border-radius: 8px;
        background: var(--secondary-color);
        color: var(--white);
        font-size: 1rem;
        font-weight: 600;
        font-family: inherit;
        cursor: pointer;
        text-align: center;
        gap: 6px;
        position: sticky;
        bottom: 0;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    }
    .mobile-show-results-btn:hover {
        background: var(--primary-color);
    }
    .mobile-show-results-btn i {
        margin-right: 6px;
    }
}

/* Hide show-results button on desktop */
.mobile-show-results-btn {
    display: none;
}

/* Hotel Card */
.hotel-card {
    background: var(--surface-1);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.hotel-image {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.06);
}

/* ---- Card Image Slider ---- */
.hotel-slider {
    cursor: pointer;
}

.hotel-slider .slider-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.hotel-slider .slider-img.active {
    opacity: 1;
    position: relative;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-dark);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.hotel-card:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 5;
}

.slider-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.3);
}

.img-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.55);
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
    z-index: 5;
}

/* ---- Hotel Detail Modal ---- */
.modal-content.hotel-detail-modal {
    max-width: 750px;
    width: 95%;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: var(--radius-xl);
    padding: 0;
    display: flex;
    flex-direction: column;
    margin: auto;
    box-shadow: 0 28px 64px rgba(14, 31, 51, 0.3);
}

.hotel-detail-modal > .modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.hotel-detail-modal > .modal-close:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.detail-gallery {
    position: relative;
    background: #000;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
}

.detail-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.detail-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.detail-slide.active {
    opacity: 1;
    position: relative;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-dark);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.gallery-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.08);
}

.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.gallery-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 5;
}

.detail-thumbs {
    display: flex;
    gap: 6px;
    padding: 10px 16px;
    background: #111;
    overflow-x: auto;
    scrollbar-width: thin;
}

.detail-thumb {
    width: 70px; height: 50px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s, border 0.3s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.detail-thumb.active {
    opacity: 1;
    border-color: var(--accent-color);
}

.detail-thumb:hover {
    opacity: 0.85;
}

.detail-info {
    padding: 28px 32px 32px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-header h2 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 600;
}

.detail-location {
    color: var(--text-light);
    font-size: 1rem;
}

.detail-location i {
    color: var(--primary-color);
}

.detail-price {
    text-align: right;
}

.detail-price .price-value {
    font-size: 2rem;
    font-weight: 700;
}

.detail-rating {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.detail-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 22px;
    font-size: 1rem;
}

.detail-amenities h4 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.detail-amenities .hotel-amenities {
    margin-bottom: 28px;
}

.detail-actions {
    display: flex;
    gap: 14px;
}

.detail-actions .offer-btn,
.detail-actions .book-btn {
    flex: 1;
    padding: 16px;
    font-size: 1.05rem;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* Detail modal responsive */
@media (max-width: 768px) {
    .hotel-detail-modal {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    .detail-gallery {
        border-radius: 0;
    }
    .detail-slider {
        height: 280px;
    }
    .detail-info {
        padding: 20px;
    }
    .detail-header {
        flex-direction: column;
    }
    .detail-header h2 {
        font-family: var(--font-display);
        font-size: 1.4rem;
    }
    .detail-price {
        text-align: left;
    }
    .detail-price .price-value {
        font-size: 1.6rem;
    }
    .detail-actions {
        flex-direction: column;
    }
}

.hotel-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(14, 31, 51, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hotel-favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hotel-favorite:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.hotel-favorite.active {
    background: var(--primary-color);
    color: var(--white);
}

.hotel-content {
    padding: 22px 24px;
}

.hotel-card .hotel-content {
    background: var(--surface-1);
}

.hotel-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.hotel-location i {
    color: var(--primary-color);
}

.hotel-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.hotel-name-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hotel-name-link:hover {
    color: var(--primary-color);
}

.hotel-name-icon {
    font-size: 0.7rem;
    color: var(--text-light);
    opacity: 0;
    transition: opacity 0.3s, color 0.3s;
}

.hotel-card:hover .hotel-name-icon {
    opacity: 1;
}

.hotel-name-link:hover .hotel-name-icon {
    color: var(--primary-color);
    opacity: 1;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars {
    color: #f1c40f;
}

.rating-text {
    font-size: 0.95rem;
    color: var(--text-light);
}

.hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.amenity {
    background: var(--surface-3);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.01em;
}

.amenity i {
    color: var(--secondary-color);
    font-size: 0.68rem;
}

.hotel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.hotel-actions {
    display: flex;
    gap: 10px;
}

.hotel-price {
    display: flex;
    flex-direction: column;
}

.room-count-hint {
    font-size: 0.72rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-top: 2px;
}

/* Room Type Select in Offer Modal */
.room-type-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s;
}
.room-type-select:focus {
    border-color: var(--secondary-color);
    outline: none;
}

/* Room Types in Detail Modal */
.detail-rooms {
    margin-top: 20px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.detail-rooms h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-rooms h4 i {
    color: var(--secondary-color);
}

.room-type-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.room-type-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--surface-2, #f8f9fa);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    gap: 12px;
    transition: var(--transition);
}

.room-type-row:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(50, 130, 184, 0.1);
}

.room-type-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.room-type-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.room-type-capacity {
    font-size: 0.78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.room-type-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
    white-space: nowrap;
}

.room-type-price span {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-light);
}

.room-type-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.room-offer-btn,
.room-book-btn {
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
}

@media (max-width: 600px) {
    .room-type-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .room-type-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .room-type-price {
        font-size: 0.95rem;
    }
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-body);
}

.price-value span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
}

.book-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-warm));
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(212, 134, 76, 0.25);
}

.book-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 134, 76, 0.35);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 30px;
    color: var(--text-light);
    border: 1px dashed var(--border-medium);
    border-radius: var(--radius-xl);
    background: var(--surface-1);
}

.no-results i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0.3;
    color: var(--text-muted);
}

.no-results h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

/* About & Contact Sections */
.info-section {
    padding: 28px 0;
}

.contact-section {
    padding-top: 0;
    padding-bottom: 56px;
}

.info-card {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    opacity: 0.6;
}
    padding: 24px 26px;
    box-shadow: 0 10px 24px rgba(12, 34, 52, 0.08);
}

.info-card h2 {
    font-family: var(--font-display);
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.info-card p {
    margin: 0;
    line-height: 1.75;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    background: var(--surface-3);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 8px 16px;
    transition: var(--transition);
}

.contact-links a:hover {
    background: rgba(74, 144, 184, 0.08);
    border-color: var(--border-medium);
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: linear-gradient(165deg, #14293e 0%, #0e1f33 40%, #0a1628 100%);
    color: var(--white);
    padding: 72px 0 24px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 134, 76, 0.5), var(--secondary-color), rgba(212, 134, 76, 0.5), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(74, 144, 184, 0.08), transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(212, 134, 76, 0.06), transparent 50%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
    margin-top: 2px;
}

.footer-col p {
    color: rgba(168, 196, 219, 0.7);
    font-size: 0.88rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(168, 196, 219, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul a::before {
    content: '›';
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
    opacity: 0.6;
}

.footer-col ul a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-col ul a:hover::before {
    color: #ffffff;
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(168, 196, 219, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(212, 134, 76, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    color: rgba(109, 143, 168, 0.6);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 31, 51, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: var(--surface-1);
    padding: 24px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -8px 0 40px rgba(14, 31, 51, 0.15);
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-nav a i {
    width: 20px;
    text-align: center;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.mobile-nav a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.mobile-nav a:focus-visible {
    border-radius: var(--radius-sm);
}

.mobile-admin-link {
    margin-top: 5px;
}

/* Offer Modal */
.offer-btn {
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.offer-btn:hover {
    background: #2d4a5e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 31, 51, 0.2);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(14, 31, 51, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 0;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: var(--surface-2);
    padding: 22px 28px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.close {
    color: var(--text-light);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover,
.close:focus {
    color: var(--primary-color);
}

.modal-body {
    padding: 25px;
}

.offer-form .form-group {
    margin-bottom: 20px;
}

.offer-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.offer-form input,
.offer-form select,
.offer-form textarea {
    width: 100%;
    padding: 12px;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.offer-form input:focus,
.offer-form select:focus,
.offer-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 60, 94, 0.08);
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3000;
}

.toast {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(14, 31, 51, 0.15);
    padding: 16px 20px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    border-left: 3px solid var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.toast.success {
    border-left-color: #27ae60;
}

.toast.error {
    border-left-color: #c0392b;
}

.toast i {
    font-size: 1.2rem;
}

.toast.success i {
    color: #27ae60;
}

.toast.error i {
    color: #c0392b;
}

.toast-message {
    font-size: 0.95rem;
    color: var(--text-dark);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hotels-main.map-active {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-row {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .search-field,
    .search-row > * {
        min-width: 0;
        max-width: none;
    }

    .search-field select,
    .search-field input,
    .search-field input[type="date"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        padding: 12px 14px;
    }
}

@media (max-width: 768px) {
    /* Map: stack vertically on mobile */
    .hotels-main.map-active {
        grid-template-columns: 1fr;
        grid-template-rows: 50vh auto;
    }

    .hotels-main.map-active .map-container {
        grid-column: 1;
        grid-row: 1;
        position: relative;
        top: 0;
        height: 50vh;
        border-radius: var(--radius-md);
        margin-bottom: 16px;
    }

    .hotels-main.map-active .hotels-grid {
        grid-column: 1;
        grid-row: 2;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .map-toggle-btn {
        font-size: 0.8rem;
        padding: 7px 14px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        height: 340px;
        margin-top: 52px;
    }

    .hero-content h1 {
        font-family: var(--font-display);
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-content {
        max-width: 92%;
        padding: 20px 18px;
        border-radius: var(--radius-lg);
    }

    .search-row {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .search-section {
        padding: 0;
        margin-top: 0;
    }

    .search-section .container {
        padding: 0;
    }

    .search-section .container::before {
        display: none;
    }

    .search-box {
        padding: 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .search-row {
        gap: 10px;
    }

    .search-field label {
        font-size: 0.72rem;
        gap: 6px;
        margin-bottom: -2px;
    }

    .search-field select,
    .search-field input,
    .search-field input[type="date"] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-height: 44px;
        padding: 10px 14px;
        font-size: 16px; /* prevents iOS auto-zoom */
        border-radius: 10px;
        -webkit-appearance: none;
    }

    .search-btn {
        width: 100%;
        min-height: 44px; /* Apple HIG touch target */
        justify-content: center;
    }

    .hotels-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .results-info .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .results-info p {
        flex: 0 1 auto;
    }

    .hotel-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        text-align: center;
    }

    .hotel-price {
        align-items: center;
        margin-bottom: 5px;
    }

    .hotel-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .offer-btn, .book-btn {
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 12px 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero {
        height: 280px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .hero-content {
        padding: 16px 14px;
        border-radius: var(--radius-md);
    }

    .hero-indicators {
        bottom: 15px;
    }

    .hero-dot {
        width: 7px;
        height: 7px;
    }

    .hero-dot.active {
        width: 20px;
    }

    .search-section {
        padding: 0;
        margin-top: 0;
    }

    .search-section .container {
        padding: 0;
    }

    .search-section .container::before {
        display: none;
    }

    .search-box {
        padding: 14px 12px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .search-row {
        gap: 8px;
    }

    .search-field label {
        font-size: 0.7rem;
    }

    .search-field select,
    .search-field input {
        padding: 10px 12px;
    }

    .hotel-content {
        padding: 15px;
    }

    .hotel-name {
        font-size: 1.1rem;
    }

    .price-value {
        font-size: 1.25rem;
    }

    /* Map: shorter on small screens */
    .hotels-main.map-active {
        grid-template-rows: 40vh auto;
    }

    .hotels-main.map-active .map-container {
        height: 40vh;
        border-radius: var(--radius-sm);
    }

    .price-marker {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hotel-card {
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hotel-card:nth-child(1) { animation-delay: 0.05s; }
.hotel-card:nth-child(2) { animation-delay: 0.1s; }
.hotel-card:nth-child(3) { animation-delay: 0.15s; }
.hotel-card:nth-child(4) { animation-delay: 0.2s; }
.hotel-card:nth-child(5) { animation-delay: 0.25s; }
.hotel-card:nth-child(6) { animation-delay: 0.3s; }

/* Scroll Reveal System */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.submit-offer-btn, .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1e4f72);
    color: var(--white);
    border: none;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    width: 100%;
    box-shadow: 0 4px 14px rgba(26, 60, 94, 0.22);
}

.submit-offer-btn:hover, .btn-primary:hover {
    background: linear-gradient(135deg, #1e4f72, var(--primary-color));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 60, 94, 0.3);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Auth Modal & Form Styling */
.auth-modal-content {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(14, 31, 51, 0.25);
    border: 1px solid var(--border-subtle);
}

.auth-modal-content .modal-header {
    background: var(--surface-2);
    padding: 22px 28px;
    border-bottom: 1px solid var(--border-subtle);
}

.auth-modal-content .modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.auth-tabs {
    display: flex;
    margin-bottom: 28px;
    background: var(--surface-3);
    padding: 4px;
    border-radius: var(--radius-md);
}

.auth-tab-btn {
    flex: 1;
    padding: 11px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-tab-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.auth-tab-btn:hover:not(.active) {
    background: rgba(0,0,0,0.03);
    color: var(--text-dark);
}

.modern-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.floating-label input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.25s;
    background: var(--surface-2);
}

.floating-label input:focus {
    border-color: var(--primary-color);
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 60, 94, 0.08);
}

.floating-label label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 0 5px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: all 0.25s;
    pointer-events: none;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
    top: 0;
    left: 12px;
    font-size: 0.75rem;
    color: var(--primary-color);
    background: white;
    font-weight: 600;
}

.select-wrapper {
    position: relative;
    background: var(--surface-2);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-top: 5px;
}

.select-wrapper select {
    width: 100%;
    padding: 13px 16px;
    border: none;
    background: transparent;
    appearance: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
}

.select-wrapper i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.select-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: block;
}

.btn-lg {
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    letter-spacing: 0.03em;
}

.form-actions {
    margin-bottom: 20px;
}

.forgot-password {
    display: block;
    text-align: center;
    margin-top: 14px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-decoration: none;
}

.forgot-password:hover {
    color: var(--primary-color);
}

/* Password Strength Indicator */
.password-strength {
    margin-top: -8px;
    margin-bottom: 16px;
}

.strength-bar {
    height: 3px;
    background: var(--surface-3);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s, background 0.3s;
}

.strength-rules {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.strength-rules li {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.strength-rules li i {
    font-size: 0.6rem;
}

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-subtle);
    z-index: 0;
}

.auth-divider span {
    background: white;
    padding: 0 16px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.social-buttons {
    display: grid;
    gap: 10px;
}

.social-btn {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: var(--radius-md);
    padding: 12px;
}

.social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.google-login-btn {
    background-color: var(--white);
    color: var(--text-dark);
    border: 1.5px solid var(--border-subtle);
}

.google-login-btn:hover {
    background-color: var(--surface-2);
    border-color: var(--border-medium);
}

.facebook-login-btn {
    background-color: #1877f2;
    color: white;
}

.facebook-login-btn:hover {
    background-color: #1565d8;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.3s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.2s !important;
        scroll-behavior: auto !important;
    }

    .hero-slide {
        animation: none !important;
    }
}
