:root {
  --bg: #000000;
  --fg: #f5f5f5;
  --fg-muted: #9a9a9a;
  --safe: #20e3d2;
  --info: #3a5dff;
  --warning: #ffa733;
  --critical: #d32f2f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #2a2a2a;
}

header h1 {
  font-size: 18px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 24px;
  height: 24px;
}

header h1 span { color: var(--safe); }
header h1 small { color: var(--fg-muted); font-weight: 400; font-size: 13px; margin-left: 6px; }

.token-box {
  display: flex;
  gap: 8px;
  align-items: center;
}

input, select {
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  color: var(--fg);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
}

button {
  background: transparent;
  border: 1px solid var(--safe);
  color: var(--fg);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

button:hover { background: rgba(32, 227, 210, 0.1); }

#token-status.ok { color: var(--safe); }
#token-status.bad { color: var(--critical); }

main {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

section h2 {
  font-size: 15px;
  margin: 0 0 10px;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 6px;
}

section h3 {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 18px 0 8px;
}

.hint {
  font-size: 12px;
  color: var(--fg-muted);
  margin: 6px 0 0;
}

.hint.ok { color: var(--safe); }
.hint.bad { color: var(--critical); }

.controls {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th, td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid #1a1a1a;
}

th { color: var(--fg-muted); font-weight: 500; }

.lifecycle-active { color: var(--safe); }
.lifecycle-paused { color: var(--warning); }
.lifecycle-deactivated, .lifecycle-deleted { color: var(--critical); }

td button {
  font-size: 11px;
  padding: 3px 8px;
  margin-right: 4px;
}

#quarantine-result {
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 240px;
  overflow: auto;
}
