@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #f8fafc;
    color: #334155;
}

.privacy-banner {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    font-weight: 500;
}

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

.main-title {
    color: #0f172a; 
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 5px;
}

.tagline {
    text-align: center;
    margin-bottom: 30px;
    color: #64748b;
    font-size: 1.1em;
}

.search-and-filter-box {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

#city-search {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    outline: none;
    border-color: #0056b3;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.filters label {
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

select#insurance-select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    flex-grow: 1; 
    max-width: 300px;
}

.results-split-container {
    display: flex;
    gap: 30px;
    align-items: flex-start; 
}

.results-list-column {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.results-map-column {
    flex: 1;
    position: sticky;
    top: 20px;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.map-container {
    width: 100%;
    height: 100%;
    position: absolute; 
    top: 0;
    z-index: 1; 
}

.clinic-card {
    background-color: white;
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.clinic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.clinic-card h3 {
    color: #0056b3;
    font-size: 1.3em;
    margin-bottom: 4px;
}

.address-text {
    color: #475569;
    font-size: 0.95em;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.clinic-details p {
    margin: 8px 0;
    font-size: 0.95em;
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.badge-green {
    background-color: #dcfce7;
    color: #166534;
}
.badge-yellow {
    background-color: #fef9c3;
    color: #854d0e;
}

.verification-note {
    display: inline-block;
    font-size: 0.8em;
    color: #15803d;
    background-color: #f0fdf4;
    padding: 4px 8px;
    border-radius: 6px;
    margin-top: 15px;
    font-weight: 500;
}

@media (max-width: 900px) {
    .results-split-container {
        display: flex;
        flex-direction: column; 
        gap: 0;
    }
    
    .results-map-column {
        order: -1; 
        position: sticky;
        top: 0; 
        width: 100%;
        height: 35vh; 
        min-height: 250px; 
        z-index: 999; 
        border-bottom: 4px solid #0056b3; 
        background-color: #e2e8f0; 
    }

    .results-list-column {
        order: 1; 
        flex: none;
        width: 100%;
        padding: 15px 10px; 
    }
  
    .leaflet-control-container .leaflet-control {
        transform: scale(0.85);
        transform-origin: top left;
    }
}
