:root {
  --bg-base:        #191919;
  --bg-card:        #1D1D1D;
  --bg-elevated:    #242424;
  --border:         #2E2E2E;
  --border-hover:   #3D3D3D;
  --text-primary:   #FFFFFF;
  --text-muted:     #888888;
  --text-secondary: #CCCCCC;
  --accent-orange:  #FF7C1D;
  --status-pending-bg:  #1A1508;
  --status-pending-fg:  #F0A500;
  --status-pending-bd:  #332A00;
  --status-verified-bg: #0D1230;
  --status-verified-fg: #6699FF;
  --status-verified-bd: #1A2560;
  --status-active-bg:   #081508;
  --status-active-fg:   #33C56A;
  --status-active-bd:   #0D300D;
  --status-error-bg:    #200A0A;
  --status-error-fg:    #FF5555;
  --status-error-bd:    #401010;
  --font-body:  'Inter', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ─── INPUTS & BUTTONS ──────────────────────────────── */

.input-field {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  outline: none;
  transition: border-color 0.2s;
}
.input-field::placeholder { color: var(--text-muted); }
.input-field:focus {
  border-color: var(--border-hover);
  box-shadow: 0 0 0 3px rgba(255, 124, 29, 0.08);
}

.form-input {
  width: 100%;
  padding: 10px 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  border-color: var(--border-hover);
  box-shadow: 0 0 0 3px rgba(255, 124, 29, 0.07);
}

.btn-primary {
  padding: 13px 20px;
  background: var(--accent-orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover:not(:disabled) { background: #FF8F3A; }
.btn-primary:active:not(:disabled) { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-ghost {
  padding: 7px 14px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text-primary); }

.btn-submit {
  width: 100%;
  padding: 11px 20px;
  background: var(--accent-orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-submit:hover:not(:disabled) { background: #FF8F3A; }
.btn-submit:active:not(:disabled) { transform: scale(0.99); }
.btn-submit:disabled { opacity: 0.4; cursor: not-allowed; }

/* ─── ALERTS ────────────────────────────────────────── */

.alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 14px;
  line-height: 1.45;
}
.alert-error   { background: var(--status-error-bg);    color: var(--status-error-fg);    border: 1px solid var(--status-error-bd); }
.alert-success { background: var(--status-active-bg);   color: var(--status-active-fg);   border: 1px solid var(--status-active-bd); }
.alert-info    { background: var(--status-verified-bg); color: var(--status-verified-fg); border: 1px solid var(--status-verified-bd); }

/* ─── SPINNER ───────────────────────────────────────── */

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
