/* ========================================================
   CITRINE V2 • STATUS SISTEM (tombol, titik dock, memuat: v2_ui.css)
   ======================================================== */

.ss-backdrop { position: fixed; inset: 0; z-index: 1300; display: none; align-items: flex-start; justify-content: center;
  padding: 60px 16px 24px; background: rgba(0, 0, 0, 0.5); overflow-y: auto; }
.ss-backdrop.open { display: flex; }
.ss-card { position: relative; width: min(880px, 100%); background: #1a1a1c; border: 1px solid #2a2a2d; border-radius: 18px;
  padding: 18px 18px 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); font-weight: 400; color: #ececef; }
.ss-head { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; }
.ss-title { font-size: 19px; font-weight: 500; color: #f4f4f5; }
.ss-range { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-text-3); }
  display: inline-flex; align-items: center; justify-content: center; }
.ss-banner { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; background: #111112; }
.ss-banner em { margin-left: auto; font-style: normal; font-size: 11.5px; color: #67676f; }
.ss-banner.ok { background: rgba(34, 197, 94, 0.08); }
.ss-banner.deg { background: rgba(245, 158, 11, 0.08); }
.ss-banner.down { background: rgba(239, 68, 68, 0.09); }
.ss-body { display: flex; flex-direction: column; gap: 10px; }
.ss-group { background: #0f0f10; border-radius: 14px; overflow: hidden; }
.ss-row { padding: 14px 18px 16px; border-bottom: 1px solid #1f1f22; }
.ss-row:last-child { border-bottom: none; }
.ss-row.nested { padding-left: 46px; background: #121214; }
.ss-row-top { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; min-width: 0; }
.ss-ico { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.ss-ico svg { width: 13px; height: 13px; stroke-width: 3; }
.ss-ico.ok { background: #22c55e; } .ss-ico.deg { background: #f97316; } .ss-ico.down { background: #ef4444; }
.ss-ico.none { background: #3f3f46; }
.ss-name { font-size: 15px; color: #f4f4f5; white-space: nowrap; }
.ss-info { display: inline-flex; color: #77777f; cursor: help; }
.ss-info svg { width: 15px; height: 15px; }
.ss-note { font-size: 11.5px; color: #77777f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ss-note.degraded { color: #fbbf24; } .ss-note.down { color: #f87171; }
.ss-toggle { display: inline-flex; align-items: center; gap: 4px; background: none; border: none; color: #a1a1aa; font: inherit; font-size: 13.5px; cursor: pointer; }
.ss-toggle svg { width: 15px; height: 15px; }
.ss-toggle:hover { color: #f4f4f5; }
.ss-up { margin-left: auto; flex: 0 0 auto; font-size: 14px; color: #a1a1aa; }
.ss-bars { display: flex; gap: 3px; height: 26px; }
.ss-bar { flex: 1; min-width: 2px; border-radius: 3px; background: #2a2a2d; cursor: default; transition: opacity .1s; }
.ss-bar:hover { opacity: 0.7; }
.ss-bar.ok { background: #22c55e; }
.ss-bar.degraded { background: #eab308; }
.ss-bar.partial { background: #f97316; }
.ss-bar.major { background: #ef4444; }
.ss-bar.none { background: #27272a; }
.ss-tip { position: absolute; display: none; z-index: 5; width: 220px; padding: 9px 11px; border-radius: 10px; background: #26262a; border: 1px solid #3a3a3e;
  font-size: 12px; line-height: 1.55; color: #d4d4d8; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.ss-tip b { font-weight: 500; color: #f4f4f5; }
.ss-tip em { font-style: normal; color: #8f8f97; }
.ss-events { margin-top: 4px; padding: 12px 6px 2px; }
.ss-ev-title { font-size: 12.5px; color: #a1a1aa; margin-bottom: 8px; }
.ss-ev { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 6px 0; border-bottom: 1px solid #222225; font-size: 12.5px; color: #c4c4cc; }
.ss-ev:last-child { border-bottom: none; }
.ss-ev-time { color: #77777f; min-width: 110px; }
.ss-ev b { font-weight: 500; } .ss-ev b.ok { color: #4ade80; } .ss-ev b.degraded { color: #fbbf24; } .ss-ev b.down { color: #f87171; }
.ss-ev em { font-style: normal; color: #67676f; }
@media (max-width: 700px) {
  .ss-bars { gap: 1px; }
  .ss-row { padding: 12px; }
  .ss-row.nested { padding-left: 20px; }
  .ss-note { display: none; }
}
