@font-face {
  font-family: Inter;
  src: url('./fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  font-family: Inter, Arial, sans-serif;
  color: #0b254c;
  background: #f5f8fc;
}
body {
  margin: 0;
}
.staff-login {
  --accent: #075ceb;
  --accent-dark: #0648b5;
  --tint: #eaf3ff;
  --line: #cfdbeb;
}
.admin-login {
  --accent: #d70a2b;
  --accent-dark: #ae0823;
  --tint: #fff0f3;
}
.super-advisor-login {
  --accent: #087b44;
  --accent-dark: #075d35;
  --tint: #e8f6ee;
}
[hidden] {
  display: none !important;
}
a {
  color: var(--accent-dark);
  text-underline-offset: 3px;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #0968ed;
  outline-offset: 4px;
}
.admin-login :focus-visible {
  outline-color: #bd0c35;
}
.super-advisor-login :focus-visible {
  outline-color: #087b44;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.login-skip {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  padding: 12px;
  background: white;
  transform: translateY(-150%);
}
.login-skip:focus {
  transform: none;
}
.login-layout {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  max-width: 1600px;
  margin: auto;
  background: white;
}
.login-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 38px clamp(30px, 5vw, 78px) 32px;
  background: #f0f6ff;
}
.login-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(100deg, #f9fbfff7 15%, #f4f8fff0 58%, #eef5ffd4),
    url('/assets/hero-family.jpeg') 65% center / cover;
}
.admin-login .login-hero::before {
  background: linear-gradient(135deg, #f9fafc 32%, #e6edf7 100%);
}
.admin-login .login-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  border: 1px solid #d1dcee;
  border-radius: 50%;
  right: -200px;
  bottom: -200px;
  box-shadow:
    0 0 0 55px #e4ebf680,
    0 0 0 110px #e4ebf640;
}
.super-advisor-login .login-hero::before {
  background: linear-gradient(135deg, #f6fcf8 25%, #e4f3e9 100%);
}
.super-advisor-login .login-hero h2 em {
  color: #087b44;
}
.super-advisor-login .hero-rule {
  background: #087b44;
}
.login-brand {
  display: block;
  width: min(100%, 350px);
  margin-bottom: 35px;
}
.login-brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.login-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 16px;
  color: #52647e;
}
.login-hero h2 {
  font-size: clamp(32px, 3.25vw, 49px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin: 0;
  max-width: 620px;
  font-weight: 750;
}
.login-hero h2 em {
  color: #dc1034;
  font-style: normal;
}
.hero-rule {
  display: block;
  width: 56px;
  height: 5px;
  border-radius: 5px;
  background: #dc1034;
  margin: 24px 0 20px;
}
.hero-description {
  font-size: 17px;
  line-height: 1.65;
  max-width: 430px;
  margin: 0 0 30px;
  color: #425677;
}
.login-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.login-features li {
  display: flex;
  gap: 16px;
  align-items: center;
}
.feature-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  background: #e4eeff;
  color: #0755c8;
  border: 1px solid #d2e1f6;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.login-features li:nth-child(2) .feature-icon {
  color: #bf143b;
  background: #ffeaf0;
  border-color: #f4d8e0;
}
.login-features li:nth-child(3) .feature-icon {
  color: #087149;
  background: #e6f5ed;
  border-color: #c9e6d7;
}
.login-features li:nth-child(4) .feature-icon {
  color: #73511c;
  background: #fff3dd;
  border-color: #eddfc3;
}
.login-features strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}
.login-features p {
  font-size: 12px;
  line-height: 1.65;
  color: #4c607f;
  margin: 4px 0 0;
  max-width: 350px;
}
.hero-closing {
  font-size: 11px;
  letter-spacing: 0.5px;
  margin: 33px 0 0;
  color: #566881;
}
.login-form-area {
  display: grid;
  align-content: center;
  padding: 60px clamp(28px, 4vw, 60px);
  background: radial-gradient(ellipse at top right, #edf3ff, transparent 65%), #fafcff;
}
.login-role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(100%, 440px);
  margin: auto auto 14px;
}
.login-role-button {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 4px solid;
  border-radius: 10px;
  color: white;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 0 #0b254c1c;
}
.super-advisor-choice {
  background: #087b44;
  border-color: #055b32;
}
.advisor-choice {
  background: #0756b2;
  border-color: #073b7d;
}
.advisor-choice:hover,
.advisor-choice[aria-current='page'] {
  background: #06458f;
  border-color: #052f68;
}
.super-advisor-choice:hover {
  background: #075d35;
}
.super-advisor-choice[aria-current='page'] {
  background: #075d35;
  border-color: #044823;
}
.admin-choice {
  background: #d70a2b;
  border-color: #a50823;
}
.admin-choice:hover {
  background: #ae0823;
}
.admin-choice[aria-current='page'] {
  background: #ae0823;
  border-color: #85051b;
}
.admin-login .login-form-area {
  background: radial-gradient(ellipse at top right, #fff0f2, transparent 70%), #fafcff;
}
.super-advisor-login .login-form-area {
  background: radial-gradient(ellipse at top right, #e8f6ee, transparent 70%), #fafcff;
}
.login-card {
  width: 100%;
  max-width: 440px;
  margin: auto;
  background: white;
  border: 1px solid #e0e7f0;
  border-radius: 20px;
  padding: 34px 30px 26px;
  box-shadow:
    0 20px 65px #1238660d,
    0 3px 9px #12386605;
}
.login-badge {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 19px;
}
.login-badge svg {
  width: 30px;
  height: 30px;
}
.login-card h1 {
  text-align: center;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 0 0 10px;
}
.login-intro {
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  color: #526680;
  max-width: 290px;
  margin: 0 auto 28px;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.login-card label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin: 0 0 9px;
}
.login-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 22px;
  background: white;
}
.login-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--tint);
}
.login-input > span {
  color: #70829d;
  padding-left: 13px;
  display: flex;
}
.login-input svg {
  width: 19px;
  height: 19px;
}
.login-input input {
  width: 100%;
  min-width: 0;
  height: 49px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 0 12px;
  color: #10284c;
  font-size: 14px;
}
.login-input input::placeholder {
  color: #697c96;
  opacity: 1;
}
.login-input input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.password-toggle {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #536c8c;
  cursor: pointer;
}
.password-toggle:hover {
  background: var(--tint);
}
.password-toggle[aria-pressed='true'] {
  color: var(--accent-dark);
  background: var(--tint);
}
.login-options {
  display: flex;
  justify-content: flex-end;
  margin: -5px 0 23px;
  font-size: 12px;
}
.login-options a {
  padding: 5px 0;
}
.login-submit {
  min-height: 49px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 12px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.login-submit:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.login-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.login-access-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 25px;
  padding: 16px 13px;
  border-radius: 9px;
  background: var(--tint);
}
.login-access-note > span {
  color: var(--accent);
  flex: 0 0 24px;
}
.login-access-note p {
  margin: 0;
}
.login-access-note strong {
  display: block;
  font-size: 11px;
  margin: 0 0 5px;
}
.login-access-note p span {
  display: block;
  font-size: 10px;
  line-height: 1.65;
  color: #495e7a;
}
.login-message {
  font-size: 12px;
  line-height: 1.65;
  margin: 0;
  overflow-wrap: anywhere;
}
.login-message:not(:empty) {
  margin: 0 0 20px;
  border-radius: 8px;
  padding: 12px;
  background: #fff1f3;
  border: 1px solid #ecc6ce;
  color: #961334;
}
.login-message.success:not(:empty) {
  color: #095638;
  background: #edf8f1;
  border-color: #bbddc9;
}
#login-recovery h2 {
  font-size: 20px;
  margin: 0 0 10px;
}
#login-recovery > p {
  font-size: 13px;
  color: #526680;
  line-height: 1.6;
  margin-bottom: 24px;
}
#back-to-login {
  display: inline-block;
  padding: 18px 0 4px;
  font-size: 12px;
}
#login-startup {
  font-size: 12px;
  line-height: 1.6;
  color: #526680;
  margin-top: 16px;
}
.login-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 20px clamp(24px, 5vw, 78px);
  max-width: 1600px;
  margin: auto;
  border-top: 1px solid #e0e7f0;
  color: #526680;
  font-size: 11px;
  background: #f8faff;
}
.login-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.login-footer a {
  color: #425778;
  padding: 5px 0;
}
.login-footer p {
  margin: 0;
  line-height: 1.6;
}
svg {
  width: 24px;
  height: 24px;
  display: block;
}
@media (min-width: 1500px) {
  .login-layout {
    margin-top: 30px;
    min-height: calc(100svh - 136px);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    border: 1px solid #e0e7f0;
  }
  .login-footer {
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
  }
}
@media (max-width: 950px) {
  .login-layout {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 1fr);
  }
  .login-hero {
    padding: 28px;
  }
  .login-form-area {
    padding: 38px 22px;
  }
  .login-card {
    padding: 28px 22px;
  }
  .login-hero h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .hero-description {
    font-size: 15px;
  }
  .login-features {
    gap: 17px;
  }
  .login-features p {
    font-size: 11px;
  }
}
@media (max-width: 720px) {
  .login-layout {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .login-hero {
    padding: 24px 24px 18px;
    background: white;
  }
  .login-hero::before,
  .login-hero::after,
  .login-eyebrow,
  .hero-rule,
  .hero-closing {
    display: none;
  }
  .admin-login .login-features,
  .super-advisor-login .login-features {
    display: grid;
    gap: 11px;
    max-width: 390px;
    margin: 17px auto 0;
  }
  .admin-login .login-features li,
  .super-advisor-login .login-features li {
    align-items: flex-start;
    gap: 11px;
  }
  .admin-login .feature-icon,
  .super-advisor-login .feature-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .admin-login .login-features strong,
  .super-advisor-login .login-features strong {
    font-size: 12px;
  }
  .admin-login .login-features p,
  .super-advisor-login .login-features p {
    font-size: 11px;
    line-height: 1.45;
    margin-top: 2px;
  }
  .login-brand {
    width: 245px;
    margin: 0 auto 24px;
  }
  .login-hero h2 {
    text-align: center;
    font-size: 28px;
    letter-spacing: -0.8px;
  }
  .login-hero h2 br {
    display: none;
  }
  .hero-description {
    text-align: center;
    font-size: 13px;
    margin: 12px auto 0;
    max-width: 320px;
  }
  .login-form-area {
    padding: 12px 18px 32px;
  }
  .login-card {
    padding: 26px 24px;
    border-radius: 16px;
  }
  .login-card h1 {
    font-size: 25px;
  }
  .login-badge {
    width: 54px;
    height: 54px;
    margin-bottom: 15px;
  }
  .login-input input {
    font-size: 16px;
  }
  .login-footer {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 23px 18px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .login-submit,
  .password-toggle {
    transition: background-color 0.15s;
  }
}
