:root {
    --wg-green: #28a745; --wg-red: #dc3545;
    --wg-orange: #fd7e14; --wg-yellow: #ffc107; --wg-gray: #6c757d;
}
body { background: #1a1d21; min-height: 100vh; }
.badge-online  { background: var(--wg-green); }
.badge-offline { background: var(--wg-gray); }
.severity-critical { color: var(--wg-red); font-weight: 700; }
.severity-high     { color: var(--wg-orange); font-weight: 600; }
.severity-medium   { color: var(--wg-yellow); }
.severity-low      { color: var(--wg-gray); }
.stat-card {
    background: #2b3035; border: 1px solid #3a3f44;
    border-radius: 0.5rem; padding: 1rem 1.25rem;
}
.stat-card:hover { border-color: #5a6268; }
.stat-card .stat-value { font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.stat-card .stat-label { font-size: 0.8rem; color: #adb5bd; text-transform: uppercase; letter-spacing: 0.5px; }
.table-dark-custom th {
    background: #212529; font-weight: 600; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.3px; color: #adb5bd;
    border-bottom: 2px solid #3a3f44;
}
.table-dark-custom td { vertical-align: middle; border-color: #2b3035; }
.table-dark-custom tbody tr:hover { background: rgba(255,255,255,0.03); }
.fi { font-size: 1.2em; }
a.peer-link { color: #e9ecef; text-decoration: none; font-weight: 500; }
a.peer-link:hover { color: var(--wg-green); text-decoration: underline; }
.login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-card { width: 100%; max-width: 400px; background: #2b3035; border: 1px solid #3a3f44; border-radius: 0.75rem; padding: 2rem; }
tr.anomaly-critical { border-left: 3px solid var(--wg-red); }
tr.anomaly-high     { border-left: 3px solid var(--wg-orange); }
tr.anomaly-medium   { border-left: 3px solid var(--wg-yellow); }
tr.anomaly-low      { border-left: 3px solid var(--wg-gray); }
tr.anomaly-acked    { opacity: 0.5; }
.chart-container { position: relative; height: 300px; width: 100%; }
.dataTables_wrapper .dataTables_filter input { background: #2b3035; border-color: #3a3f44; color: #e9ecef; }
.dataTables_wrapper .dataTables_length select { background: #2b3035; border-color: #3a3f44; color: #e9ecef; }
