/* ===== Státuszkártya komponens ===== */

.status-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,.25);
  transition: background .15s ease, border-color .15s ease;
}
.status-card:hover { background: #222; }
.status-card.ro    { border-color: var(--err); }
.status-card.selected { border-color: var(--ok); }

.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .35rem;
}
.status-header h2 {
  font-size: 1.05rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-meta {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: .4rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.status-meta .meta-line strong { color: var(--text); }

.status-details {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  align-items: center;
  font-variant-numeric: tabular-nums;
  justify-content: flex-start;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border-radius: 9999px;
  padding: 0 .75rem;
  border: 1px solid var(--line);
  background: #1a1a1a;
  color: var(--text);
  min-width: 7.5rem;
  height: 1.8rem;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
}

.badge .dot {
  width: .5rem; height: .5rem; border-radius: 9999px; background: #666;
}
.badge.ok   { border-color: var(--ok);   }
.badge.warn { border-color: var(--warn); }
.badge.err  { border-color: var(--err);  }
.badge.ok   .dot { background: var(--ok); }
.badge.warn .dot { background: var(--warn); }
.badge.err  .dot { background: var(--err); }
