body {
    background-color: #0B1120;
    color: #f3f4f6;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050810; }
::-webkit-scrollbar-thumb { background: #1f2937; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #00A8FF; }

.cyber-border { position: relative; }
.cyber-border::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #00A8FF;
    transition: width 0.3s ease;
}
.cyber-border:hover::after,
.cyber-border[aria-current="page"]::after { width: 100%; }

.tool-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
a.tool-card:hover,
a.tool-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.2);
    border-color: #00A8FF;
    outline: none;
}

.grid-bg {
    background-image:
        linear-gradient(rgba(0, 168, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Status dots */
.dot { display: inline-block; width: 0.625rem; height: 0.625rem; border-radius: 9999px; flex-shrink: 0; }
.dot-ok { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
.dot-warn { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }
.dot-bad { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.6); }
.dot-info { background: #00A8FF; box-shadow: 0 0 8px rgba(0, 168, 255, 0.6); }
.dot-unknown { background: #6b7280; }
.dot-pulse { animation: dot-pulse 1.8s ease-in-out infinite; }
@keyframes dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

@media (prefers-reduced-motion: reduce) {
    .dot-pulse { animation: none; }
    .tool-card { transition: none; }
}

/* Incident update text keeps its line breaks */
.incident-text { white-space: pre-line; overflow-wrap: anywhere; }

/* Outage Monitor: "Issues only" filter hides quiet cards */
.issues-only .provider-card[data-level="ok"]:not([data-stale="true"]),
.issues-only #unmonitored { display: none; }
.issues-only .category-section[data-quiet="true"] .provider-grid { display: none; }
.issues-only .category-section[data-quiet="true"] { padding-bottom: 0.5rem; }

details > summary::-webkit-details-marker { display: none; }
