* { box-sizing: border-box; }
html { min-height: 100%; }
body.login-page {
  margin: 0; min-height: 100vh; display: grid; place-items: center;
  padding: 24px; color: #edf3ff; font-family: Roboto, Arial, sans-serif;
  background: radial-gradient(ellipse at 10% 0%, rgba(72,141,220,.25), transparent 75%), #151c27;
}
.login-shell { width: min(420px, 100%); }
.login-card {
  display: flex; flex-direction: column; padding: 28px;
  border: 1px solid rgba(174,200,232,.2); border-radius: 16px;
  background: #253247; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.login-logo { display: block; width: 220px; max-width: 100%; height: auto; align-self: center; margin: 0 0 30px; }
h1 { margin: 0 0 6px; font-size: 23px; line-height: 1.2; font-weight: 800; }
.login-description { margin: 0 0 24px; color: #9eb2cd; font-size: 14px; line-height: 1.45; }
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-input {
  display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 0 14px;
  border: 1px solid rgba(174,200,232,.2); border-radius: 12px; color: #41c2e3;
}
.login-input:focus-within { border-color: #41c2e3; }
.login-input svg, .login-submit svg { width: 24px; height: 24px; flex: 0 0 auto; }
.at-icon { width: 24px; flex: 0 0 auto; text-align: center; font-size: 24px; font-weight: 700; line-height: 1; }
.login-input input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #edf3ff; font: inherit; font-size: 16px; }
.login-input input::placeholder { color: #9eb2cd; opacity: 1; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; margin-top: 6px; border: 0; border-radius: 16px; background: #2f8ff7; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.login-submit:hover { background: #237cdd; }
.login-submit:focus-visible, .login-input:focus-within { outline: 2px solid #41c2e3; outline-offset: 2px; }
.login-card footer { margin-top: 18px; color: #9eb2cd; text-align: center; font-size: 12px; line-height: 1.45; }
.flash-stack { display: grid; gap: 8px; margin: 0 0 16px; }
.flash { padding: 10px 12px; border-radius: 8px; background: #35445a; color: #edf3ff; }
.flash-error, .flash-danger { background: #6e2837; color: #ffd1d1; }
.flash-success { background: #1f5d48; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 360px) { body.login-page { padding: 16px; } .login-card { padding: 22px; } }
