* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #f3eefb;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(255, 63, 180, 0.35), transparent 60%),
    radial-gradient(ellipse at 50% -10%, rgba(55, 230, 255, 0.18), transparent 55%),
    #0b0716;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
}
.login { width: 100%; max-width: 380px; text-align: center; }
.login-logo { width: 100%; max-width: 320px; height: auto; filter: drop-shadow(0 0 18px rgba(255, 63, 180, 0.45)); }
.login-sub {
  margin: 6px 0 22px; color: #37e6ff; font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
}
.login-card {
  text-align: left; background: rgba(20, 13, 38, 0.92); border: 1px solid #ff3fb4;
  border-radius: 14px; padding: 22px 20px; box-shadow: 0 0 40px rgba(255, 63, 180, 0.3);
}
label { display: block; font-size: 13px; color: #a695c9; margin-bottom: 14px; }
input {
  display: block; width: 100%; margin-top: 5px; padding: 12px 13px; font-size: 16px; font-family: inherit;
  color: #f3eefb; background: #0b0716; border: 1px solid #2e2250; border-radius: 10px;
}
input:focus { outline: none; border-color: #37e6ff; box-shadow: 0 0 0 3px rgba(55, 230, 255, 0.2); }
button {
  width: 100%; margin-top: 6px; padding: 13px; font-size: 16px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #fff; background: #ff3fb4; border: none; border-radius: 10px; cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 63, 180, 0.45);
}
button:hover, button:focus-visible { background: #c2137f; outline: none; }
.login-err {
  margin: 0 0 14px; padding: 9px 11px; font-size: 13px; border-radius: 8px;
  color: #ffc9d3; background: rgba(255, 77, 109, 0.12); border-left: 3px solid #ff4d6d;
}
