:root {
  --bg: #0F1521;
  --surface2: #FFE1D7;
  --border: #29344A;
  --ink: #E8EBF2;
  --ink-muted: #8B94AC;
  --accent: #E8A33D;
  --danger: #E5484D;
  --success: #6FCF97;
  --surface: #0259DD;
  --primary: #10367D;
  --secondary: #84AFFB;
  --font: #FF6648;
  --bg: #FFE1D7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--font);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--primary);
  border: 1px solid var(--secondary);
  border-radius: 12px;
  padding: 32px;
}

.card-wide {
  max-width: 640px;
}

h1 {
  font-size: 20px;
  margin: 0 0 4px;
}

.subtitle {
  color: var(--bg);
  font-size: 13px;
  margin: 0 0 24px;
}

label {
  display: block;
  font-size: 13px;
  color: var(--bg);
  margin-bottom: 6px;
  margin-top: 16px;
}

input {
  width: 100%;
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--secondary);
  border-radius: 6px;
  color: var(--font);
  font-size: 14px;
  font-family: inherit;
}

input:focus { outline: 1px solid var(--bg); }

button {
  width: 100%;
  margin-top: 24px;
  padding: 11px;
  background: var(--font);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

button:hover { opacity: 0.9; }

button.secondary {
  background: var(--surface2);
  color: var(--ink);
  border: 1px solid var(--border);
}

button.danger-btn {
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
}

.error {
  margin-top: 16px;
  padding: 10px 12px;
  background: #3B1E20;
  color: var(--danger);
  border-radius: 6px;
  font-size: 13px;
}

.hint {
  margin-top: 20px;
  font-size: 12px;
  color: var(--secondary);
  line-height: 1.6;
}

.hint code {
  background: var(--surface2);
  padding: 1px 5px;
  border-radius: 4px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.badge-user { background: #1A2E38; color: #56CCF2; }
.badge-admin { background: #1A3324; color: var(--success); }

.info-block {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
}

.info-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.info-row span:first-child { color: var(--font); }

pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  font-size: 12px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  margin-top: 8px;
}

.section-title {
  font-size: 13px;
  color: var(--bg);
  margin-top: 24px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
