* { scrollbar-width: thin; scrollbar-color: #134a7c transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #134a7c; border-radius: 4px; }

.nav-btn { color: #9db8d2; }
.nav-btn:hover { background: rgba(56,189,248,.08); color: #fff; }
.nav-btn.active { background: linear-gradient(90deg, rgba(56,189,248,.15), rgba(11,42,74,.4)); color: #fff; box-shadow: inset 3px 0 0 #38bdf8; }

.card { background: rgba(8,31,56,.65); border: 1px solid rgba(19,74,124,.45); backdrop-filter: blur(8px); }
.card-hover { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card-hover:hover { transform: translateY(-3px); border-color: rgba(56,189,248,.4); box-shadow: 0 12px 40px -12px rgba(56,189,248,.25); }

@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.35} }
.status-dot { width:10px;height:10px;border-radius:9999px;display:inline-block; }
.status-dot.up { background:#34d399; box-shadow:0 0 10px #34d39988; animation:pulse-dot 2s infinite; }
.status-dot.down { background:#f87171; box-shadow:0 0 10px #f8717188; }
.status-dot.unknown { background:#64748b; }

.gauge-ring { transition: stroke-dashoffset .8s cubic-bezier(.4,0,.2,1); }

.fade-in { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none} }

input, select, textarea { color-scheme: dark; }
.field { width:100%; background:rgba(3,13,24,.7); border:1px solid #134a7c; border-radius:.6rem; padding:.6rem .9rem; font-size:.875rem; color:#e2e8f0; }
.field:focus { outline:none; border-color:#38bdf8; box-shadow:0 0 0 3px rgba(56,189,248,.15); }
label.flabel { display:block; font-size:.7rem; font-weight:600; text-transform:uppercase; letter-spacing:.08em; color:#8fb3d9; margin-bottom:.4rem; }

.btn-primary { background:#38bdf8; color:#082f49; font-weight:600; border-radius:.6rem; padding:.55rem 1.1rem; font-size:.85rem; transition:background .2s; }
.btn-primary:hover { background:#7dd3fc; }
.btn-danger { background:rgba(248,113,113,.12); color:#f87171; border:1px solid rgba(248,113,113,.3); border-radius:.6rem; padding:.4rem .8rem; font-size:.8rem; transition:all .2s; }
.btn-danger:hover { background:rgba(248,113,113,.22); }
.btn-ghost { color:#9db8d2; border-radius:.6rem; padding:.4rem .8rem; font-size:.8rem; transition:all .2s; }
.btn-ghost:hover { color:#fff; background:rgba(255,255,255,.06); }
