:root {
  --bg: #070707;
  --card: #161616;
  --line: #2a2a2a;
  --text: #f4f4f5;
  --muted: #9a9a9a;
  --warn: #f5a623;
  --warn-bg: #2a1d12;
  --ok: #22c55e;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow: auto;
  height: auto;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  width: 100%;
}

.card {
  width: min(560px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px 40px 28px;
}

.head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
  line-height: normal;
  color: var(--text);
}

.card p,
.card .status,
.card .lead,
.card .kicker,
.card .foot,
.card .alert h2 {
  text-align: left;
}

.card .alert p,
.card .lead {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.card a {
  display: inline;
  text-decoration: none;
  font-weight: inherit;
  font-style: normal;
  color: inherit;
}

.kicker {
  margin: 4px 0 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cfcfcf;
  font-size: 14px;
  margin: 0 0 18px;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #3a3a3a;
  border-top-color: #d4d4d4;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.alert {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--warn-bg);
  border-left: 3px solid var(--warn);
  border-radius: 4px;
  margin-bottom: 20px;
}

.alert-icon {
  width: 22px;
  height: 22px;
  color: var(--warn);
  flex: 0 0 auto;
  margin-top: 1px;
}

.alert h2 {
  margin: 0 0 6px;
  color: var(--warn);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.alert p, .lead {
  margin: 0;
  color: #bdbdbd;
  font-size: 14px;
  line-height: 1.55;
}

.lead {
  margin-bottom: 18px;
}

.lead strong { color: var(--text); }

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn {
  height: 42px;
  border-radius: 6px;
  font: 600 14px Inter, sans-serif;
  cursor: pointer;
}

.btn.primary {
  border: 0;
  background: #2a2a2a;
  color: #fff;
}

.btn.primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn.ghost {
  background: transparent;
  border: 1px solid #4a4a4a;
  color: #d5d5d5;
}

.foot {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  color: #6f6f6f;
  font-size: 12px;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
  .card { padding: 24px 18px 18px; }
  .actions { grid-template-columns: 1fr; }
}
