* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


:root {
    --primary-color: #EE7C33;
    --primary-hover: #db722e; 
    --secondary-color: #263238;

    --text-main: #1F2937;
    --text-light: #666666;
    --background-light: #F4F7F6;
    --border-color: #E5E7EB;
    
    --stars-color: #f0c73f;

    --success-color: #059669;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --star-color: #10B981; 
}



body {
    font-family: 'Open Sans', sans-serif;
    color: var(--secondary-color);
    line-height: 1.6;
    background-color: #fff;
}

body {
    margin-left: 70px;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.kyk-body-expanded {
    margin-left: 260px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
}

/* --- CUSTOM THIN SCROLLBAR --- */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}
::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}


/* Header and Navigation */
.header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.nav-link.btn:hover {
    background-color: #4a2fe1;
    color: #fff;
}

.nav-link.icon-link {
    font-size: 1.2rem;
    position: relative;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 600;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .nav-link {
    color: var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--danger-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Hero Section */
.hero {
    background: url('https://images.unsplash.com/photo-1517524008697-84bbe3c3afd9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1740&q=80') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.date-time-inputs {
    display: flex;
    align-items: center;
}
.date-time-inputs .icon-left {
    font-size: 0.7rem;
    margin-right: 15px;
    color: #555;
}
.date-time-inputs .icon-right {
    font-size: 0.7rem;
    margin-left: -10px;
    pointer-events: none;
    color: #555;
}
.time-select-dropdown {
    width: 95px;
    border: none;
    outline: none;
    background: transparent;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* Flatpickr internal overrides */
.flatpickr-alt-custom {
    width: 80px;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-weight: 600 !important;
    color: #555 !important;
    cursor: pointer !important;
    padding: 0 !important;
}




/* Authentication Forms (Login/Register) */
.auth-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(89, 60, 251, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #4a2fe1;
}

.btn-secondary {
    flex: 1;
    padding: 12px;
    background-color: #f0f0f0;
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
}

.auth-link a {
    font-weight: 600;
}





/* --- NEW: Search Results Page Styles --- */
.search-page-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.search-sidebar {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.price-inputs {
    display: flex;
    gap: 10px;
}
.price-inputs .form-group {
    margin-bottom: 0;
}
.price-inputs input {
    padding: 8px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.95rem;
}
.filter-checkbox input {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.search-results-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.search-results-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Make sure the grid fits nicely in the main area */
.search-results-area .vehicle-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ========================================================
   --- REDESIGN CLASSES (HOME, HEADER, FOOTER, CARDS) --- 
   ======================================================== */

/* Top Banner Style */
.top-promo-banner { background-color: var(--background-light); text-align: center; padding: 12px; font-size: 0.95rem; color: var(--text-main); text-decoration: underline; font-weight: 500; cursor: pointer; transition: color 0.2s; }
.top-promo-banner:hover { color: var(--primary-color); }

/* Turo Logo CSS Shape */
.turo-logo-shape { background: var(--secondary-color); color: #fff; padding: 6px 15px 6px 12px; font-weight: 900; font-size: 1.4rem; letter-spacing: 1.5px; border-radius: 4px 0 0 4px; display: inline-block; clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%); padding-right: 30px; text-decoration: none !important; }

/* Header Ghost & Menu Buttons */
.btn-ghost { border: 1px solid var(--border-color); background: transparent; color: var(--text-main); padding: 8px 16px; border-radius: 20px; font-weight: 600; text-decoration: none; transition: background 0.2s; font-size: 0.9rem;}
.btn-ghost:hover { background: var(--background-light); color: var(--text-main);}
.btn-menu { border: 1px solid var(--border-color); background: #fff; padding: 5px 10px 5px 15px; border-radius: 30px; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: box-shadow 0.2s; position: relative; }
.btn-menu:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.btn-menu .fa-circle-user { font-size: 1.8rem; color: var(--text-light); }
.header { padding: 15px 0; border-bottom: none; }

/* =========================================
   4. HOMEPAGE REDESIGN
   ========================================= */

/* Hero Redesign */
.hero-redesign-container { padding-top: 20px; }
.hero-redesign { background-image: url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; border-radius: 16px; height: 450px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; position: relative; overflow: hidden; }
.hero-redesign::before { content: ''; position: absolute; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.3); }
.hero-content-redesign { position: relative; z-index: 2; width: 100%; max-width: 900px; padding: 0 20px; }
.hero-content-redesign h1 { font-size: 3.2rem; font-weight: 800; margin-bottom: 10px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero-content-redesign p { font-size: 1.2rem; margin-bottom: 30px; font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }

/* Unified Search Pill inside Hero */
.search-bar-redesign { background: #fff; border-radius: 40px; display: flex; align-items: center; padding: 8px 8px 8px 25px; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,0.15); margin: 0 auto; width: 100%; }
.search-field-redesign { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.search-field-redesign label { font-size: 0.75rem; font-weight: 700; color: var(--text-main); text-transform: uppercase; margin-bottom: 2px; }
.search-field-redesign input { border: none; font-size: 1rem; color: var(--text-light); outline: none; background: transparent; width: 100%; }
.search-field-redesign.location-field { flex: 1.5; }
.search-divider { width: 1px; height: 40px; background: var(--border-color); margin: 0 15px; }
.date-time-inputs { display: flex; align-items: center; gap: 10px; color: var(--text-light); font-size: 0.9rem; cursor: pointer; }
.date-time-inputs input { width: auto; font-size: 0.95rem; cursor: pointer; }
.search-btn-redesign { background: var(--primary-color); color: #fff; border: none; width: 48px; height: 48px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; margin-left: 10px; flex-shrink: 0; }
.search-btn-redesign:hover { background: var(--primary-hover); }

/* Redesigned Pill Tabs */
.feature-tabs-redesign { display: flex; justify-content: center; gap: 10px; margin: 40px 0; padding-bottom: 10px; overflow-x: auto; }
.tab-item-redesign { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--secondary-color); cursor: pointer; padding: 10px 20px; border-radius: 30px; transition: all 0.2s; white-space: nowrap; border: 1px solid transparent; }
.tab-item-redesign:hover { background: var(--background-light); }
.tab-item-redesign.active { background: var(--secondary-color); color: #fff; }
.tab-item-redesign i { font-size: 1rem; }

/* Carousel / Vehicle Grid Redesign */
.vehicle-section-redesign { margin-bottom: 50px; }
.section-header-redesign { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.section-header-redesign h2 { font-size: 1.4rem; font-weight: 800; color: var(--text-main); margin: 0; }
.carousel-nav button { background: #fff; border: 1px solid var(--border-color); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 0.9rem; color: var(--text-light); transition: border-color 0.2s; margin-left: 10px; }
.carousel-nav button:hover { border-color: var(--text-main); color: var(--text-main); }

.vehicle-grid-redesign { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media(max-width: 1024px){ .vehicle-grid-redesign { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 600px){ .vehicle-grid-redesign { grid-template-columns: 1fr; } }

/* Clean Borderless Car Cards */
.vehicle-card-redesign { display: flex; flex-direction: column; text-decoration: none; color: var(--text-main); transition: opacity 0.2s; }
.vehicle-card-redesign:hover { opacity: 0.85; }
.vehicle-card-redesign .img-wrapper { height: 200px; border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.vehicle-card-redesign .img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-card-redesign .info-wrapper { display: flex; flex-direction: column; flex: 1; }
.vehicle-card-redesign h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 4px 0; }
.vehicle-card-redesign .meta { font-size: 0.9rem; color: var(--text-light); margin: 0 0 15px 0; display: flex; align-items: center; gap: 5px; }
.vehicle-card-redesign .meta i { color: var(--star-color); font-size: 0.75rem; }
.vehicle-card-redesign .price-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
.vehicle-card-redesign .save-badge { background: #e0f8e9; color: var(--success-color); font-weight: 700; font-size: 0.75rem; padding: 4px 8px; border-radius: 4px; }
.vehicle-card-redesign .price-val { font-weight: 800; font-size: 1.05rem; }

/* =========================================
   5. FOOTER REDESIGN
   ========================================= */
.footer-redesign { background: #fff; padding: 60px 0 40px; border-top: 1px solid var(--border-color); margin-top: 60px; font-size: 0.9rem; }
.footer-tabs-wrapper { border-bottom: 1px solid var(--border-color); margin-bottom: 30px; }
.footer-tabs { display: flex; gap: 30px; margin-bottom: -1px; overflow-x: auto; }
.footer-tab { font-weight: 700; color: var(--text-light); padding-bottom: 15px; cursor: pointer; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; white-space: nowrap; }
.footer-tab.active { color: var(--text-main); border-bottom: 2px solid var(--text-main); }

.footer-grid-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
@media(max-width: 768px){ .footer-grid-top { grid-template-columns: repeat(2, 1fr); } }
.footer-grid-top a { color: var(--text-light); text-decoration: none; display: block; margin-bottom: 12px; font-weight: 500; }
.footer-grid-top a:hover { text-decoration: underline; color: var(--primary-color); }
.footer-show-more { color: var(--primary-color); font-weight: 700; display: inline-block; margin-bottom: 40px; cursor: pointer; text-decoration: none; }

.footer-grid-bottom { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; border-top: 1px solid var(--border-color); padding-top: 40px; }
@media(max-width: 900px){ .footer-grid-bottom { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 600px){ .footer-grid-bottom { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 1rem; font-weight: 800; margin-bottom: 20px; color: var(--text-main); }
.footer-col a { color: var(--text-light); text-decoration: none; display: block; margin-bottom: 12px; font-weight: 500; }
.footer-col a:hover { text-decoration: underline; color: var(--primary-color); }

.footer-socials { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-size: 1.2rem; color: var(--text-main); }
.footer-socials a { color: var(--text-main); transition: color 0.2s; }
.footer-socials a:hover { color: var(--primary-color); }
.footer-apps { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-apps img { height: 40px; }


/* =========================================
   8. HOMEPAGE SPECIFIC (HERO/WHY US)
   ========================================= */
.home-hero {
    background-image: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?q=80&w=2021&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 120px 20px 160px 20px;
    position: relative;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    margin: 0 auto;
}

.hero-title { color: #fff; font-size: 3.2rem; font-weight: 800; margin-bottom: 10px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero-content p { color: #fff; font-size: 1.2rem; margin-bottom: 30px; font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }

.search-bar-container {
    background: #fff;
    padding: 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-right: 1px solid var(--border-color);
}

.search-input-group:last-of-type { border-right: none; }
.search-input-group i { color: var(--text-light); margin-right: 15px; font-size: 1.2rem; }
.search-input-group input { border: none; outline: none; font-size: 1rem; width: 100%; color: var(--text-main); font-weight: 600; background: transparent; }

.search-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.search-btn:hover { background: var(--primary-hover); }

/* --- "WHY CHOOSE US" SECTION --- */
.home-why-section {
    max-width: 1160px;
    margin: -40px auto 60px auto; 
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.why-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    padding: 25px 30px;
    border: 1px solid var(--border-color);
}

.why-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 20px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.why-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.why-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.why-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: #e4fbf3; /* Hardcoded light orange - keeps branding intact */
    color: var(--primary-color); /* Hardcoded dark orange */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.why-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
}

.why-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .search-bar-container { flex-direction: column; border-radius: 12px; padding: 20px; }
    .search-input-group { border-right: none; border-bottom: 1px solid var(--border-color); padding: 15px 0; width: 100%; }
    .search-btn { width: 100%; margin-top: 15px; border-radius: 8px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .home-why-section { margin-top: -40px; }
}

@media (max-width: 768px) {
    .why-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
}




/* =========================================
   9. SEARCH RESULTS PAGE (MAP INTEGRATION)
   ========================================= */
.search-page-container {
    display: grid;
    /* Split into 3 columns: Filter Sidebar, Results List, Interactive Map */
    grid-template-columns: 280px minmax(400px, 1fr) 1fr;
    gap: 30px;
    margin: 0;
    max-width: 100%;
    padding: 30px;
}

.search-sidebar {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.search-results-area {
    display: flex;
    flex-direction: column;
}

.search-results-area .vehicle-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.map-wrapper {
    position: sticky;
    top: 100px;
    height: calc(100vh - 120px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#search-map {
    width: 100%;
    height: 100%;
}

/* =========================================
   10. KAYAK-STYLE SIDE MENU
   ========================================= */
.kyk-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 70px;
    background-color: #fff;
    border-right: 1px solid var(--border-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.kyk-sidebar.expanded {
    width: 260px;
    box-shadow: 4px 0 15px rgba(0,0,0,0.05);
}

.kyk-toggle-area {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 25px;
    cursor: pointer;
    flex-shrink: 0;
}

.kyk-toggle-area i {
    font-size: 20px;
    color: var(--text-light);
    transition: color 0.2s;
}

.kyk-toggle-area:hover i {
    color: var(--secondary-color);
}

.kyk-menu {
    list-style: none;
    padding: 10px 0;
    margin: 0;
    flex: 1;
}

.kyk-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s;
}

.kyk-menu-item:hover {
    background-color: var(--background-light);
    color: var(--secondary-color);
}

.kyk-menu-item.active {
    background-color: var(--background-light);
}

.kyk-icon {
    font-size: 18px;
    color: var(--text-light);
    width: 20px;
    text-align: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.kyk-menu-item.active .kyk-icon {
    color: var(--primary-color); /* Branded Kayak Orange */
}

.kyk-text {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
}

.kyk-sidebar.expanded .kyk-text {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.1s;
}

.kyk-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 15px 20px;
}

.kyk-badge {
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0;
}

.kyk-sidebar.expanded .kyk-badge {
    opacity: 1;
}

/* =========================================
   11. AUTH MODALS (POPUPS)
   ========================================= */
.auth-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 999999;
    display: none; justify-content: center; align-items: center;
    backdrop-filter: blur(4px);
    padding: 20px;
    box-sizing: border-box;
}
.auth-modal-overlay.active { display: flex; }
.auth-modal-container {
    background: #fff; width: 100%; max-width: 500px;
    border-radius: 16px; position: relative; padding: 40px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease;
    box-sizing: border-box;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.auth-modal-close {
    position: absolute; top: 20px; right: 20px;
    background: #f4f4f4; border: none; width: 32px; height: 32px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text-light); transition: background 0.2s;
}
.auth-modal-close:hover { background: var(--border-color); color: var(--secondary-color); }
.auth-section { display: none; }
.auth-section.active { display: block; }
.auth-section h2 { margin: 0 0 25px 0; font-size: 1.8rem; font-weight: 800; color: var(--secondary-color); text-align: center;}
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.95rem; color: var(--text-light); }
.auth-switch a { color: var(--primary-color); font-weight: 700; text-decoration: none; }
.auth-error { display: none; background: #fde8e8; color: var(--danger-color); padding: 12px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; font-size: 0.9rem; text-align: center; border: 1px solid #f5c6cb; }
.auth-success { display: none; background: #e0f8e9; color: var(--success-color); padding: 12px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; font-size: 0.9rem; text-align: center; border: 1px solid #cceadd; }

/* =========================================
   12. RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 1100px) {
    .search-page-container { grid-template-columns: 250px 1fr; }
    .map-wrapper { display: none; }
}

@media (max-width: 768px) {
    body { margin-left: 0 !important; }
    .search-page-container { grid-template-columns: 1fr; padding: 15px; }
    .search-sidebar { position: relative; top: 0; width: 100%; box-sizing: border-box; }
    .kyk-sidebar { transform: translateX(-100%); width: 260px; }
    .kyk-sidebar.expanded { transform: translateX(0); }
    .kyk-text, .kyk-badge { opacity: 1; visibility: visible; }
    .kyk-mobile-toggle { position: fixed; bottom: 20px; right: 20px; background: #ff690f; color: #fff; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 100000; box-shadow: 0 4px 10px rgba(0,0,0,0.2); cursor: pointer; }
    
    .hero-search-box { flex-direction: column; }
    .hero-search-btn { width: 100%; }
    .section-title { font-size: 2.5rem; }
}

@media (min-width: 769px) { .kyk-mobile-toggle { display: none; } }