/* Dashboard Monitoring Platform demo screen (illustrative, sample data) */
.dash-frame { margin: 48px 0 8px; border-radius: 14px; background: #0b1726; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(215,150,40,.08); overflow: hidden; color: #dfe7f0; font-size: 13px; line-height: 1.4; }
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #08111d; border-bottom: 1px solid rgba(255,255,255,.07); }
.dash-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3a4d; }
.dash-bar i:nth-child(1) { background: #e0605a; } .dash-bar i:nth-child(2) { background: #e2b54a; } .dash-bar i:nth-child(3) { background: #56b867; }
.dash-url { margin-left: 12px; flex: 1; max-width: 360px; padding: 4px 12px; border-radius: 6px; background: #111f31; color: #7f91a6; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-body { display: grid; grid-template-columns: 52px 1fr; min-height: 0; }
.dash-side { background: #08111d; border-right: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; }
.dash-side span { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #6f8399; }
.dash-side span.on { background: rgba(215,150,40,.16); color: var(--gold); }
.dash-side svg { width: 17px; height: 17px; }
.dash-main { padding: 16px 18px 18px; display: grid; gap: 14px; min-width: 0; }
.dash-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.dash-title { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: #fff; }
.dash-title small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; color: #7f91a6; }
.dash-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.dash-chips b { font-weight: 500; font-size: 11.5px; padding: 4px 10px; border-radius: 99px; background: #111f31; color: #9fb0c3; border: 1px solid rgba(255,255,255,.06); }
.dash-chips b.on { background: rgba(215,150,40,.15); color: var(--gold-soft); border-color: rgba(215,150,40,.35); }
.dash-live { display: inline-flex; align-items: center; gap: 6px; color: #7ed39a; font-size: 12px; }
.dash-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #56b867; box-shadow: 0 0 0 0 rgba(86,184,103,.6); animation: dash-pulse 2s infinite; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { background: #101e30; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 11px 12px 8px; min-width: 0; }
.kpi .k { color: #8a9bb0; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .v { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: #fff; margin-top: 2px; }
.kpi .v small { font-size: 13px; color: #7f91a6; font-weight: 500; }
.kpi .d { font-size: 11px; margin-top: 1px; }
.kpi .up { color: #7ed39a; } .kpi .dn { color: #f08a7e; }
.kpi svg { width: 100%; height: 26px; display: block; margin-top: 4px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 12px; }
.panel { background: #101e30; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 12px 14px; min-width: 0; }
.panel h4 { margin: 0 0 8px; font-family: var(--font-head); font-size: 13px; font-weight: 600; color: #fff; display: flex; justify-content: space-between; gap: 8px; }
.panel h4 span { font-family: var(--font-body); font-weight: 400; color: #7f91a6; font-size: 11.5px; }
.map svg { width: 100%; height: auto; display: block; }
.map .land { fill: #1b3049; stroke: #29476a; stroke-width: 1; }
.map .sul { fill: none; stroke: #1b3049; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.map .ok { fill: #56b867; } .map .warn { fill: #e2b54a; } .map .bad { fill: #e0605a; }
.map .ring { fill: none; stroke: #e0605a; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: dash-ring 2.2s ease-out infinite; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; color: #8a9bb0; font-size: 11.5px; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.alerts li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 7px; background: #0c1828; }
.alerts code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: #c9d5e2; }
.alerts em { font-style: normal; font-size: 11px; color: #8a9bb0; display: block; }
.tag { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.tag.ok { background: rgba(86,184,103,.15); color: #7ed39a; }
.tag.warn { background: rgba(226,181,74,.15); color: #e9c46a; }
.tag.bad { background: rgba(224,96,90,.16); color: #f08a7e; }
.bars { display: grid; gap: 7px; margin-top: 4px; }
.bars div { display: grid; grid-template-columns: 78px 1fr 44px; align-items: center; gap: 8px; color: #9fb0c3; font-size: 11.5px; }
.bars s { display: block; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #b8791c, var(--gold-soft)); text-decoration: none; }
.bars b { font-weight: 500; color: #dfe7f0; text-align: right; }
.dash-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.trend svg { width: 100%; height: 92px; display: block; }
.dash-caption { text-align: center; color: #8a9bb0; font-size: 13px; margin: 14px 0 0; }
@keyframes dash-pulse { 0% { box-shadow: 0 0 0 0 rgba(86,184,103,.6); } 70% { box-shadow: 0 0 0 7px rgba(86,184,103,0); } 100% { box-shadow: 0 0 0 0 rgba(86,184,103,0); } }
@keyframes dash-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dash-live::before, .map .ring { animation: none; } }
@media (max-width: 1000px) { .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash-grid, .dash-row2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .dash-body { grid-template-columns: 1fr; } .dash-side { display: none; } .dash-main { padding: 12px; } .kpi .v { font-size: 19px; } .dash-url { display: none; } }
