.status-widget {
  position: relative;
  border: 1px solid #1b2a50;
  background: #0c1630;
  border-radius: 16px;
  box-shadow: 0 10px 20px #00000040;
  max-height: 380px;
  font-size: 11px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
}

/* Header sempre fixo no topo da box */
.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0c1630;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-bottom: 1px solid #1b2a50;
  flex-shrink: 0;
  z-index: 5;
}

/* Lista rolável separada */
.status-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px;
}

/* grid interna */
.status-grid {
  display: grid;
  grid-template-columns: 1fr 55px 45px;
  gap: 6px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.dot.up { background:#22c55e }
.dot.warn { background:#eab308 }
.dot.degraded { background:#f97316 }
.dot.down { background:#ef4444 }

.small {
  font-size: 11px;
  color: #a7b9e6;
}

.status-grid canvas {
  display:block;
  margin-top:3px;
  width: 90px !important;
  height: 28px !important;
}

/* Scrollbar discreta */
.status-list::-webkit-scrollbar {
  width: 5px;
}
.status-list::-webkit-scrollbar-thumb {
  background:#1b2a50;
  border-radius: 3px;
}
