/* Standalone presentation layer for the login and first-setup pages. */
:root { color-scheme:light; font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif; }
* { box-sizing:border-box; }
html,body { min-height:100%; margin:0; }
body.auth-page { min-width:320px; min-height:100vh; color:#111a4b; }
.login-page { position:relative; isolation:isolate; display:grid; min-height:100svh; place-items:center; overflow:hidden; padding:32px 24px; background:linear-gradient(rgba(242,246,255,.68),rgba(244,246,255,.80)),url("/static/img/login-background.webp") center/cover no-repeat,#dfe7f6; }
.login-page::before { position:absolute; z-index:-1; inset:0; background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.16),rgba(255,255,255,.04) 42%,rgba(30,47,101,.11)); content:""; }
.auth-card,.login-card { position:relative; width:min(100%,620px); padding:43px 54px 31px; border:1px solid rgba(255,255,255,.86); border-radius:32px; background:rgba(255,255,255,.93); box-shadow:0 28px 80px rgba(25,39,92,.17),0 1px 0 rgba(255,255,255,.9) inset; text-align:center; backdrop-filter:blur(16px); }
.auth-card::before { position:absolute; inset:0; border-radius:inherit; background:radial-gradient(circle at 50% 6%,rgba(225,231,255,.52),transparent 30%); pointer-events:none; content:""; }
.auth-card>* { position:relative; }
.auth-landmark { width:min(100%,360px); margin:0 auto 15px; }
.auth-landmark img { display:block; width:100%; height:auto; filter:drop-shadow(0 6px 9px rgba(36,54,150,.12)); }
.auth-copy h1 { margin:0; color:#10194f; font-size:clamp(2rem,4vw,2.85rem); letter-spacing:-.048em; line-height:1.08; }
.auth-copy p { margin:10px auto 28px; max-width:29rem; color:#7782a9; font-size:1.05rem; font-weight:600; line-height:1.4; }
.auth-form { display:grid; gap:18px; text-align:left; }
.auth-label { display:grid; gap:8px; color:#141b4b; font-size:.94rem; font-weight:780; }
.auth-control { position:relative; display:flex; align-items:center; }
.auth-control>svg { position:absolute; z-index:1; top:50%; left:20px; width:23px; height:23px; transform:translateY(-50%); stroke:#8691ba; stroke-width:1.8; fill:none; pointer-events:none; }
.auth-control input { width:100%; height:66px; padding:0 55px 0 56px; border:1.5px solid #d6dcf2; border-radius:17px; outline:0; background:rgba(250,251,255,.94); color:#15205a; box-shadow:0 3px 10px rgba(70,91,155,.035) inset; font-family:inherit; font-size:1rem; font-weight:600; line-height:1.25; transition:border-color .16s ease,box-shadow .16s ease,background .16s ease; }
.auth-control input::placeholder { color:#929dbe; font-weight:550; }
.auth-control input:focus { border-color:#5866ca; background:#fff; box-shadow:0 0 0 4px rgba(88,102,202,.14); }
.auth-control input:focus-visible { outline:0; }
.auth-password-toggle { position:absolute; z-index:2; top:50%; right:10px; display:grid; width:43px; height:43px; transform:translateY(-50%); place-items:center; border:0; border-radius:12px; background:transparent; color:#7885b2; cursor:pointer; transition:color .16s ease,background .16s ease; }
.auth-password-toggle svg { width:24px; height:24px; stroke:currentColor; stroke-width:1.8; fill:none; }
.auth-password-toggle:hover { background:#eff2ff; color:#4054b0; }
.auth-password-toggle:focus-visible { outline:3px solid rgba(88,102,202,.28); outline-offset:2px; }
.auth-submit { display:flex; align-items:center; justify-content:center; gap:13px; width:100%; height:70px; margin-top:8px; border:0; border-radius:18px; background:linear-gradient(102deg,#263c91,#6557dc); box-shadow:0 16px 34px rgba(61,72,178,.25),0 1px 0 rgba(255,255,255,.32) inset; color:#fff; cursor:pointer; font-family:inherit; font-size:1.16rem; font-weight:750; line-height:1; letter-spacing:-.015em; transition:transform .16s ease,box-shadow .16s ease,filter .16s ease; }
.auth-submit span { font-size:1.65rem; font-weight:400; line-height:1; }
.auth-submit:hover { box-shadow:0 20px 38px rgba(61,72,178,.31),0 1px 0 rgba(255,255,255,.32) inset; filter:saturate(1.05); transform:translateY(-1px); }
.auth-submit:focus-visible { outline:4px solid rgba(67,83,195,.28); outline-offset:3px; }
.auth-error { margin:0; padding:12px 14px; border:1px solid #f0c8d1; border-radius:13px; background:#fff4f6; color:#a33d57; text-align:left; font-size:.87rem; font-weight:650; line-height:1.35; }
.auth-motto { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:15px; margin-top:30px; color:#8791b2; font-size:.62rem; font-weight:850; letter-spacing:.22em; line-height:1.2; text-transform:uppercase; white-space:nowrap; }
.auth-motto i { height:1px; background:#cbd2e8; }
.auth-card-setup { padding-top:32px; }
.auth-card-setup .auth-landmark { width:132px; margin-bottom:8px; }
.auth-card-setup .auth-copy p { margin-bottom:22px; }
.auth-card-setup .auth-form { gap:13px; }
.auth-card-setup .auth-control input { height:58px; }
.auth-card-setup .auth-submit { height:62px; margin-top:4px; }
.district-search-form,.global-search-page-form { display:flex; gap:8px; width:min(100%,560px); margin:22px auto 0; padding:6px; border:1px solid #d9e0f1; border-radius:14px; background:#fff; box-shadow:0 8px 24px #283e8710; }
.district-search-form input,.global-search-page-form input { min-width:0; flex:1; padding:10px 12px; border:0; outline:0; background:transparent; color:#1d2c60; font-family:inherit; font-size:.95rem; }
.district-search-form:focus-within,.global-search-page-form:focus-within { border-color:#5271cb; box-shadow:0 0 0 3px #5271cb20; }
.district-search-form button,.global-search-page-form button { padding:10px 17px; border:0; border-radius:9px; background:#3c5ec6; color:#fff; font-family:inherit; font-size:.85rem; font-weight:800; cursor:pointer; }
.global-search-page { width:min(100%,850px); padding:32px; border:1px solid #e1e6f2; border-radius:24px; background:#fff; box-shadow:0 22px 60px #253a7617; }
.global-search-back { color:#435bb0; font-size:.84rem; font-weight:750; text-decoration:none; }
.global-search-page h1 { margin:15px 0 4px; color:#142650; font-size:clamp(1.8rem,4vw,2.4rem); }
.global-search-page>p { margin:0; color:#657494; line-height:1.5; }
.global-search-page-form { margin:22px 0; }
.global-search-message { margin:14px 0; padding:14px 16px; border-radius:12px; background:#f2f5fc; color:#4f607d; font-size:.9rem; }
.global-search-results { display:grid; gap:10px; margin-top:18px; }
.global-search-result { display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:13px; align-items:center; padding:15px; border:1px solid #e0e6f3; border-radius:14px; background:#fbfcff; color:inherit; text-decoration:none; }
.global-search-result:hover { border-color:#9fb3e9; background:#f5f8ff; }
.global-search-result .district-mark { display:grid; width:44px; height:44px; place-items:center; border-radius:11px; background:#e9efff; color:#3657ba; font-size:.8rem; font-weight:900; }
.global-search-result strong,.global-search-result small,.global-search-result b,.global-search-result em { display:block; overflow-wrap:anywhere; }
.global-search-result strong { color:#203766; font-size:1rem; }
.global-search-result small { margin:2px 0 6px; color:#6d7b98; font-size:.78rem; }
.global-search-result b { color:#233552; font-size:.86rem; font-weight:700; }
.global-search-result em { margin-top:3px; color:#66728b; font-size:.81rem; font-style:normal; }
.global-search-open { color:#3d5fbd; font-size:.8rem; font-weight:800; white-space:nowrap; }
@media (max-height:800px) and (min-width:641px) { .login-page { padding:22px; }.auth-card { padding:27px 46px 24px; }.auth-landmark { width:252px; margin-bottom:7px; }.auth-copy h1 { font-size:2.35rem; }.auth-copy p { margin:7px auto 19px; font-size:.98rem; }.auth-form { gap:13px; }.auth-control input { height:58px; }.auth-submit { height:62px; margin-top:4px; }.auth-motto { margin-top:23px; } }
@media (max-width:640px) { .login-page { align-items:start; min-height:100svh; padding:26px 14px; background-position:58% center; }.auth-card,.login-card { margin:auto 0; padding:32px 22px 26px; border-radius:27px; }.auth-landmark { width:270px; margin-bottom:10px; }.auth-copy h1 { font-size:2.08rem; }.auth-copy p { margin:9px auto 24px; font-size:.98rem; }.auth-form { gap:16px; }.auth-control input { height:61px; border-radius:16px; font-size:.98rem; }.auth-submit { height:64px; margin-top:5px; border-radius:17px; }.auth-motto { gap:9px; margin-top:25px; font-size:.52rem; letter-spacing:.15em; } }
@media (max-width:640px) { .global-search-page { padding:22px 17px; }.global-search-result { grid-template-columns:38px minmax(0,1fr); padding:12px; }.global-search-result .district-mark { width:38px; height:38px; }.global-search-open { grid-column:2; }.district-search-form,.global-search-page-form { gap:4px; }.district-search-form button,.global-search-page-form button { padding:10px 12px; } }
/* The site theme loads after this file. Keep its generic control rules from moving
   the login field text and the password eye away from their reserved spaces. */
body[data-mc-design].auth-page .auth-control input {
  min-height:0; height:66px; padding:0 58px 0 56px !important;
  font:600 1rem/1.25 Inter,"Segoe UI",Roboto,Arial,sans-serif !important;
}
body[data-mc-design].auth-page .auth-control input:focus {
  border-color:#5866ca !important; box-shadow:0 0 0 4px rgba(88,102,202,.14) !important;
}
body[data-mc-design].auth-page .auth-password-toggle {
  top:50%; right:10px; width:43px; height:43px; min-height:0; padding:0;
  transform:translateY(-50%); border:0; border-radius:12px;
  background:transparent; color:#7885b2; box-shadow:none;
}
body[data-mc-design].auth-page .auth-password-toggle:hover:not(:disabled) {
  transform:translateY(-50%); border:0; background:#eff2ff; color:#4054b0;
}
body[data-mc-design].auth-page .auth-submit {
  height:70px; min-height:70px; padding:0 20px;
  font-size:1.16rem; font-weight:750; line-height:1;
}
@media (max-height:800px) and (min-width:641px) {
  body[data-mc-design].auth-page .auth-control input { height:58px; }
  body[data-mc-design].auth-page .auth-submit { height:62px; min-height:62px; }
}
@media (max-width:640px) {
  body[data-mc-design].auth-page .auth-control input { height:61px; }
  body[data-mc-design].auth-page .auth-submit { height:64px; min-height:64px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; animation-iteration-count:1!important; } }
