:root {
  --vx-bg: #0a0c10;
  --vx-surface: #0f1218;
  --vx-line: rgba(255,255,255,0.08);
  --vx-text: #e6edf3;
  --vx-muted: #7a8597;
  --vx-cyan: #22d3ee;
  --vx-green: #4ade80;
  --vx-rose: #fb7185;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--vx-bg); color: var(--vx-text); font-family: Inter, Segoe UI, sans-serif; }
body { display: flex; align-items: center; justify-content: center; position: relative; }
body::before { content: ''; position: fixed; inset: 0; background: radial-gradient(ellipse 800px 500px at 25% 20%, rgba(34,211,238,0.10), transparent 60%); pointer-events: none; }
.vx-login { position: relative; z-index: 1; width: 100%; max-width: 440px; background: var(--vx-surface); border: 1px solid var(--vx-line); border-radius: 18px; padding: 40px 36px; }
.vx-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.vx-brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vx-cyan); box-shadow: 0 0 12px var(--vx-cyan); }
.vx-brand { margin: 0; font-size: 1.1rem; letter-spacing: 2px; }
.vx-tagline { font-size: 10px; letter-spacing: 3px; color: var(--vx-muted); margin-bottom: 28px; }
.vx-field { margin-bottom: 16px; }
.vx-field label { display: block; font-size: 11px; color: var(--vx-muted); margin-bottom: 6px; letter-spacing: 1px; }
.vx-field input { width: 100%; background: #0a0d14; border: 1px solid var(--vx-line); border-radius: 10px; color: var(--vx-text); padding: 12px 14px; }
.vx-submit { width: 100%; margin-top: 8px; padding: 13px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #0891b2, #6366f1); color: #fff; font-weight: 700; cursor: pointer; }
.vx-foot { margin-top: 28px; display: flex; justify-content: space-between; font-size: 10px; color: var(--vx-muted); letter-spacing: 2px; }
.vx-foot-right { display: inline-flex; align-items: center; gap: 6px; }
.vx-ping { width: 6px; height: 6px; border-radius: 50%; background: var(--vx-green); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.vx-corner { position: absolute; width: 14px; height: 14px; border: 1px solid rgba(34,211,238,0.35); }
.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.dash-body { display: block; align-items: stretch; justify-content: flex-start; }
.dash-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--vx-line); background: var(--vx-surface); }
.dash-main { max-width: 980px; margin: 0 auto; padding: 24px; display: grid; gap: 20px; }
.card { background: var(--vx-surface); border: 1px solid var(--vx-line); border-radius: 14px; padding: 20px; }
.card h2 { margin: 0 0 16px; font-size: 1rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--vx-muted); }
label.full { margin-top: 12px; }
input, select, textarea { background: #0a0d14; border: 1px solid var(--vx-line); border-radius: 8px; color: var(--vx-text); padding: 10px 12px; font: inherit; }
textarea { width: 100%; margin-bottom: 10px; }
.btn { border: 1px solid var(--vx-line); background: transparent; color: var(--vx-text); padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.btn.primary { background: linear-gradient(135deg, #0891b2, #6366f1); border: 0; font-weight: 600; }
.btn.outline { border-color: rgba(34,211,238,0.35); }
.btn.ghost { background: transparent; }
.actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.muted { color: var(--vx-muted); font-size: 13px; }
.list { margin-top: 16px; display: grid; gap: 8px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--vx-line); border-radius: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pill { font-size: 11px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--vx-line); }
.pill.ok { border-color: rgba(74,222,128,0.4); color: var(--vx-green); }
.pill.err { border-color: rgba(251,113,133,0.4); color: var(--vx-rose); }
.flash { margin-top: 10px; padding: 10px; border-radius: 8px; background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.2); }
.flash.err { background: rgba(251,113,133,0.08); border-color: rgba(251,113,133,0.25); }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
