*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0b0f;
  --surface: #111318;
  --border: #1e2130;
  --accent: #6c63ff;
  --accent-dim: #4c45b3;
  --text: #e8eaf0;
  --muted: #6b7280;
  --error: #ef4444;
  --success: #22c55e;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
}
.logo {
  margin-bottom: 32px;
}
.logo-text { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; color: var(--accent); }
.logo-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
h1 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
p.sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; line-height: 1.5; }
label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
select, input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}
select:focus, input:focus { border-color: var(--accent); }
.form-group { margin-bottom: 20px; }
button {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover { background: var(--accent-dim); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.msg {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}
.msg.error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: var(--error); }
.msg.success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: var(--success); }
.divider { height: 1px; background: var(--border); margin: 24px 0; }
.hint { font-size: 13px; color: var(--muted); text-align: center; }
.hint a { color: var(--accent); text-decoration: none; }
