/* Estilos profissionais baseados no Conect Saúde */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

/* Header */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

/* Search Container */
.search-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Cards de Resultados */
.resultados-container {
    max-height: 600px;
    overflow-y: auto;
}

.estabelecimento-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.estabelecimento-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.estabelecimento-card h6 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.badge-tipo {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
}

/* Mapa */
.map-container {
    position: sticky;
    top: 1rem;
}

#mapa {
    border: 2px solid var(--border-color);
}

/* Loading */
.spinner-container {
    text-align: center;
    padding: 3rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .search-container {
        padding: 1rem;
    }
    
    .map-container {
        margin-top: 2rem;
    }
}

/* Modal */
.modal-header {
    background-color: var(--primary-color);
    color: white;
}

.btn-close {
    filter: invert(1);
}

/* Estados dos filtros */
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}