/* Styles pour les alertes et échelles NOAA */

/* Container des alertes NOAA */
.noaa-alerts-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
    padding: 10px;
}

/* Scrollbar personnalisée */
.noaa-alerts-container::-webkit-scrollbar {
    width: 8px;
}

.noaa-alerts-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.noaa-alerts-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.noaa-alerts-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Badges des échelles NOAA */
.badge {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Animation pour les alertes actives */
.alert-active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Style pour les échelles NOAA */
.noaa-scale-display {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Ajustements pour les alertes dans le système */
.alert-system-noaa {
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.alert-system-noaa:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Carte d'alerte NOAA */
.noaa-alert-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.noaa-alert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Couleurs des sévérités */
.severity-extreme {
    border-left: 4px solid #8B0000;
    background-color: rgba(139, 0, 0, 0.1);
}

.severity-severe {
    border-left: 4px solid #DC143C;
    background-color: rgba(220, 20, 60, 0.1);
}

.severity-strong {
    border-left: 4px solid #FF4500;
    background-color: rgba(255, 69, 0, 0.1);
}

.severity-moderate {
    border-left: 4px solid #FF8C00;
    background-color: rgba(255, 140, 0, 0.1);
}

.severity-minor {
    border-left: 4px solid #FFA500;
    background-color: rgba(255, 165, 0, 0.1);
}

.severity-info {
    border-left: 4px solid #17A2B8;
    background-color: rgba(23, 162, 184, 0.1);
}

/* Modal de détails */
#noaa-alert-detail-modal .modal-content {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#noaa-alert-detail-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#noaa-alert-detail-modal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}