/* Сторінка входу — той самий «пульт трансляції», що й панель: палітра з tokens.css,
   скляна картка на темному тлі з неоновими відсвітами (зелений Kick + фіолетовий). */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  user-select: none; -webkit-user-select: none;
}
.glow { position: fixed; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .6; }
.glow.g1 { width: 48vw; height: 48vw; left: -12vw; top: -20vw; background: radial-gradient(circle, rgba(var(--accent-rgb), .3), transparent 65%); }
.glow.g2 { width: 52vw; height: 52vw; right: -16vw; bottom: -24vw; background: radial-gradient(circle, rgba(var(--violet-rgb), .4), transparent 65%); }

.box {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 140px), var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 32px 32px;
  width: 360px;
  box-shadow: var(--shadow-3);
}

.brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 30px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; transform: rotate(-6deg);
  background: var(--accent-fill); box-shadow: var(--glow-accent), inset 0 -3px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.5);
}
.brand-mark svg { width: 25px; height: 25px; fill: var(--on-accent); transform: rotate(6deg); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: .5px; }
.brand-name em { font-style: normal; color: var(--accent); text-shadow: 0 0 18px rgba(var(--accent-rgb), .45); }

.pw-label {
  font-size: var(--fs-micro); font-weight: 800; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 8px;
}

input {
  width: 100%;
  background: rgba(0,0,0,.3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  margin-bottom: 16px;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  user-select: text; -webkit-user-select: text;
}
input::placeholder { color: var(--text-faint); }
input:focus { border-color: rgba(var(--accent-rgb), .6); background: rgba(0,0,0,.42); box-shadow: var(--focus-ring); }

button {
  width: 100%;
  background: var(--accent-fill);
  color: var(--on-accent);
  border: none;
  border-radius: var(--r-md);
  padding: 15px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  transition: box-shadow var(--t-base) var(--ease-out), transform var(--t-fast);
  box-shadow: var(--bloom-accent), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -3px 0 rgba(0,0,0,.15);
}
button:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(var(--accent-rgb), .38), inset 0 1px 0 rgba(255,255,255,.45); }
button:active { transform: translateY(0) scale(.98); }

.err { color: var(--danger); font-size: var(--fs-xs); margin-top: 12px; min-height: 16px; text-align: center; font-weight: 600; }
