* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 36px 20px;
  color: #173448;
  background: radial-gradient(ellipse at 10% 10%, #cceeee 0, transparent 48%), radial-gradient(ellipse at 95% 90%, #dddff4 0, transparent 48%), #f3f7fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
.admin-login { width: 100%; max-width: 440px; }
.login-brand { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 24px; }
.login-brand img { display: block; object-fit: contain; flex-shrink: 0; }
.login-brand > span { font-size: 25px; font-weight: 800; letter-spacing: .16em; }
.login-brand small { display: block; color: #526879; font-size: 13px; font-weight: 400; letter-spacing: .04em; }
.login-card { padding: 34px; background: #fff; border: 1px solid #dce7ed; border-radius: 22px; box-shadow: 0 20px 65px -20px #17344830; border-top: 4px solid #188d97; }
.login-eyebrow { font-size: 11px; letter-spacing: .16em; font-weight: 700; color: #137985; }
h1 { margin: 8px 0 6px; font-size: 30px; line-height: 1.2; letter-spacing: -.035em; }
.login-intro { margin: 0 0 26px; color: #607283; font-size: 14px; }
.login-field { margin-bottom: 19px; }
label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
.login-field input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #c9d7e0; border-radius: 9px; background: #fbfcfe; color: #173448; font: inherit; font-size: 15px; }
.login-field input:focus { outline: 3px solid #15949d24; border-color: #13818b; background: #fff; }
button { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; min-height: 48px; margin-top: 6px; padding: 12px 16px; border: 0; border-radius: 9px; background: linear-gradient(110deg, #137e88, #146073); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.login-action { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 9px; background: linear-gradient(110deg, #137e88, #146073); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
button:hover, .login-action:hover { background: #115c6a; }
button:focus-visible, a:focus-visible { outline: 3px solid #17828f; outline-offset: 4px; }
.login-restriction { margin: 24px 0 0; padding-top: 19px; border-top: 1px solid #edf1f5; color: #647887; font-size: 12px; text-align: center; }
footer { margin-top: 22px; text-align: center; color: #637787; font-size: 12px; }
.login-errors { padding: 12px; margin: 0 0 20px; background: #fff3f3; border: 1px solid #f1cccc; border-radius: 9px; color: #9b2838; font-size: 13px; }
.field-errors { margin-top: 6px; color: #9b2838; font-size: 13px; }
.errorlist { margin: 0; padding: 0; list-style: none; }
.login-reset { display: block; margin-top: 16px; text-align: center; color: #137985; font-size: 13px; }
.login-password { position: relative; }
.login-password input { padding-inline-end: 52px; }
.login-password .password-toggle { position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); width: 40px; min-height: 40px; height: 40px; margin: 0; padding: 10px; border-radius: 6px; background: transparent; color: #526879; }
.login-password .password-toggle:hover { background: #eaf3f5; color: #137985; }
.password-toggle[hidden], .password-toggle-slash { display: none; }
.password-toggle.is-visible .password-toggle-slash { display: block; }
@media (max-width: 480px) {
  body { padding: 24px 16px; }
  .login-card { padding: 26px 22px; border-radius: 18px; }
  .login-brand img { width: 72px; height: 72px; }
  h1 { font-size: 27px; }
}
@media (max-height: 650px) {
  body { padding-block: 20px; }
  .login-brand { margin-bottom: 16px; }
  .login-brand img { width: 64px; height: 64px; }
}
