:root {
    --bg: #0f172a;
    --panel: #111827;
    --muted: #94a3b8;
    --text: #f8fafc;
    --line: #334155;
    --accent: #f59e0b;
    --danger: #ef4444;
    --good: #10b981;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 10% 0%, rgba(245,158,11,.14), transparent 28%), var(--bg); color: var(--text); font-family: Arial, sans-serif; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.top { border-bottom: 1px solid var(--line); background: rgba(17,24,39,.9); }
.top-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 900; letter-spacing: .5px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
label { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: #020617; color: var(--text); border-radius: 9px; padding: 11px 12px; font-size: 14px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
.btn { border: 0; border-radius: 9px; padding: 11px 16px; background: var(--accent); color: #111827; font-weight: 900; cursor: pointer; text-decoration: none; display: inline-block; }
.btn.secondary { background: #334155; color: var(--text); }
.btn.danger { background: var(--danger); color: white; }
.muted { color: var(--muted); }
.hero { padding: 56px 0; }
.hero h1 { margin: 0 0 10px; font-size: 38px; line-height: 1.05; }
.hero p { margin: 0; color: var(--muted); font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; font-size: 14px; vertical-align: top; }
.table th { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.badge { border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.badge.active, .badge.trial { background: rgba(16,185,129,.16); color: var(--good); }
.badge.pending, .badge.expired { background: rgba(245,158,11,.16); color: var(--accent); }
.badge.blocked { background: rgba(239,68,68,.16); color: var(--danger); }
.notice { border: 1px solid var(--line); background: #020617; border-radius: 9px; padding: 12px; margin-bottom: 16px; color: var(--muted); }
.mt { margin-top: 18px; }
.auth-page { min-height: calc(100vh - 64px); padding: 54px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.auth-copy h1 { margin: 8px 0 12px; font-size: 42px; line-height: 1.04; }
.auth-copy p { color: var(--muted); max-width: 520px; font-size: 16px; line-height: 1.45; }
.eyebrow { color: var(--accent); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.steps span { border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 8px 11px; font-size: 12px; font-weight: 900; }
.steps span.active { background: rgba(245,158,11,.14); border-color: var(--accent); color: var(--accent); }
.auth-card { border-radius: 14px; padding: 26px; }
.auth-card h2 { margin-top: 0; }
.auth-submit { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.license-box { border: 1px dashed var(--accent); background: rgba(245,158,11,.1); border-radius: 12px; padding: 16px; }
.license-box span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; margin-bottom: 8px; }
.license-box strong { color: var(--accent); font-size: 22px; word-break: break-all; }
@media (max-width: 760px) {
    .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 30px; }
    .auth-page { grid-template-columns: 1fr; padding: 30px 0; }
    .auth-copy h1 { font-size: 32px; }
    .auth-submit { justify-content: stretch; }
    .auth-submit .btn { width: 100%; text-align: center; }
}
