:root {
    --grc-primary: #0d6efd;
    --grc-vert: #28a745;
    --grc-rouge: #dc3545;
    --grc-orange: #fd7e14;
    --grc-gris: #6c757d;
}

body { background: #f5f6fa; }

.navbar-brand { font-weight: 700; }

.card-stat {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.card-stat:hover { transform: translateY(-2px); }

.card-stat .card-body { padding: 1.25rem; }
.card-stat .stat-value { font-size: 2rem; font-weight: 700; }
.card-stat .stat-label { font-size: 0.85rem; color: #6c757d; }
.card-stat .stat-icon { font-size: 2.5rem; opacity: 0.3; }

.badge-vert { background: var(--grc-vert); }
.badge-rouge { background: var(--grc-rouge); }
.badge-orange { background: var(--grc-orange); }
.badge-gris { background: var(--grc-gris); }

.table th { background: #f8f9fa; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; }

#mapContainer { height: 70vh; border-radius: 8px; overflow: hidden; }
#mapAvaries { height: 70vh; border-radius: 8px; overflow: hidden; }

.passage-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 0 2px;
}
.passage-dot.vert { background: var(--grc-vert); }
.passage-dot.rouge { background: var(--grc-rouge); }
.passage-dot.gris { background: var(--grc-gris); }

.freq-display {
    font-family: monospace;
    font-size: 0.9rem;
}
.freq-display span {
    display: inline-block;
    width: 22px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    margin: 0 1px;
    padding: 1px 0;
}
.freq-display span.active { background: var(--grc-primary); color: #fff; border-color: var(--grc-primary); }

.nav-link.active { font-weight: 600; }

.leaflet-popup-content { min-width: 200px; }
.leaflet-popup-content h6 { margin-bottom: 5px; font-size: 0.9rem; }
.leaflet-popup-content .info-line { font-size: 0.8rem; color: #555; margin-bottom: 2px; }

.etat-actif { color: var(--grc-vert); font-weight: 600; }
.etat-avarie { color: var(--grc-orange); font-weight: 600; }
.etat-retiree { color: var(--grc-gris); font-weight: 600; }

.loading { text-align: center; padding: 3rem; }
.loading .spinner-border { width: 3rem; height: 3rem; }

@media (max-width: 768px) {
    .card-stat .stat-value { font-size: 1.5rem; }
    #mapContainer, #mapAvaries { height: 50vh; }
}
