:root {
    --oasis-primary: #00a8cc;
    --oasis-bg: #f8f9fa;
    --oasis-text: #2d3436;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--oasis-bg);
    color: var(--oasis-text);
    overflow: hidden;
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Recherche et Filtres */
.search-overlay {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 500px;
}

.search-container {
    position: relative;
}

.search-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 5px 15px;
    display: flex;
    align-items: center;
}

.search-card input {
    border: none;
    padding: 10px;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
}

/* Liste d'auto-complétion */
.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
}

.autocomplete-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.autocomplete-item:last-child { border-bottom: none; }

.autocomplete-item:hover, .autocomplete-item.active {
    background-color: #f0faff;
    color: var(--oasis-primary);
}

.autocomplete-item .display-name {
    display: block;
    font-weight: 600;
}

.autocomplete-item .display-sub {
    display: block;
    font-size: 0.75rem;
    color: #777;
}

/* Chips de filtres */
.filters-bar {
    display: flex;
    gap: 8px;
    scrollbar-width: none;
}
.filters-bar::-webkit-scrollbar { display: none; }

.filter-chip {
    border-radius: 20px;
    white-space: nowrap;
    font-size: 0.85rem;
    border: 1px solid #eee;
    background: white;
    padding: 6px 15px;
    transition: all 0.2s;
}

.filter-chip.active {
    background: var(--oasis-primary);
    color: white;
    border-color: var(--oasis-primary);
}

#map {
    flex-grow: 1;
    width: 100%;
    z-index: 1;
}

.leaflet-popup-content-wrapper { border-radius: 15px; }

@media (max-width: 768px) {
    .search-overlay { top: 60px; }
}