:root {
  --bg: #0b0f14;
  --surface: #0f1722;
  --text: #eaf0ff;
  --muted: #a7b0c4;
  --stroke: rgba(234, 240, 255, 0.14);
  --accent: #b6ff2e;
  --accent2: #7c3aed;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(900px 480px at 12% -8%, rgba(124, 58, 237, 0.32), transparent 55%),
    radial-gradient(700px 420px at 92% 6%, rgba(182, 255, 46, 0.16), transparent 58%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; }
.container { max-width: 440px; margin: 0 auto; padding: 0 18px; }
.topbar {
  border-bottom: 1px solid var(--stroke);
  background: rgba(11, 15, 20, 0.72);
  backdrop-filter: blur(10px);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 12px; }
.brand { font-weight: 800; letter-spacing: -0.02em; }
.muted { color: var(--muted); font-size: 13px; }
.section { padding: 22px 0; }
.card {
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(234, 240, 255, 0.06), rgba(234, 240, 255, 0.03));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}
.card__inner { padding: 20px; }
.h1 { font-size: 24px; margin: 0 0 8px; letter-spacing: -0.03em; }
.hint { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 0 0 12px; }
.flash {
  border: 1px solid rgba(182, 255, 46, 0.25);
  background: rgba(182, 255, 46, 0.08);
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 12px;
  font-size: 14px;
}
.flash--err {
  border-color: rgba(255, 61, 113, 0.3);
  background: rgba(255, 61, 113, 0.1);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.field label { font-weight: 700; font-size: 12.5px; }
.field input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(234, 240, 255, 0.2);
  background: rgba(11, 15, 20, 0.45);
  color: var(--text);
  outline: none;
}
.hr { height: 1px; background: var(--stroke); margin: 14px 0; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(234, 240, 255, 0.2);
  background: rgba(234, 240, 255, 0.06);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}
.btn--primary {
  background: linear-gradient(135deg, rgba(182, 255, 46, 0.95), rgba(124, 58, 237, 0.9));
  border-color: rgba(234, 240, 255, 0.1);
  color: #061018;
}
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.pw-toggle:hover { background: rgba(234, 240, 255, 0.08); }
.pw-toggle svg { width: 20px; height: 20px; opacity: 0.85; }
