/* Navigation Prometheus 4.0 */

[hidden] {
    display: none !important;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar nav a {
    background: transparent;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.sidebar nav a:hover {
    background: #142a48;
    border-color: #26568c;
}

.sidebar nav a.active {
    background: #16345b;
    border-color: #3487d7;
    color: #ffffff;
}

/* Alertes réseau */

#alerts-page {
    margin-top: 24px;
}

#alerts-page .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#refresh-alerts {
    background: #1767a8;
    border: 1px solid #3487d7;
    border-radius: 9px;
    color: #ffffff;
    padding: 11px 18px;
    cursor: pointer;
}

#refresh-alerts:hover {
    background: #2185d0;
}

#alerts-error {
    color: #ff9e9e;
}

@media (max-width: 680px) {
    #alerts-page .stats {
        grid-template-columns: 1fr;
    }
}

/* États des événements réseau */

#alerts-body tr.port-opened td:nth-child(3) {
    color: #fbbf24;
    font-weight: 700;
}

#alerts-body tr.port-closed td:nth-child(3) {
    color: #fb7185;
    font-weight: 700;
}

#alerts-body tr.port-unknown td:nth-child(3) {
    color: #93c5fd;
}

#alerts-body .alert-empty {
    text-align: center;
    padding: 30px;
    color: #34d399;
    font-weight: 600;
}

#alerts-body tr:hover {
    background: rgba(59, 130, 246, 0.08);
}

