/* New sign-in page (How United Services style). Used only by Pages/Account/Login.cshtml through _LoginLayout. */
:root{--lg-navy:#0B2A66;--lg-blue:#1A5CC8;--lg-ink:#1F2A44;--lg-muted:#5E6B85}
body.lg-body{margin:0;min-height:100vh;color:var(--lg-ink);font-family:"Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  background:#EAF3FC url("../img/login-bg.png") center top / cover no-repeat fixed}
.lg-shell{max-width:1000px;margin:0 auto;padding:clamp(36px,7vh,72px) 20px 24px;position:relative;z-index:1}

/* header */
/* the column is exactly as wide as the header (logo + name); the sign-in box takes the same width */
.lg-col{width:max-content;min-width:380px;max-width:100%;margin:0 auto}
.lg-brand{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 0 14px}
.lg-logo{height:54px;width:auto;flex:none;border-radius:5px;background:#fff;box-shadow:0 1px 5px rgba(11,42,102,.15)}
.lg-brand-text p{margin:0}
.lg-company{font-size:18px;font-weight:700;letter-spacing:.2px;color:var(--lg-navy)}
.lg-portal{font-size:15px;color:#2D4A86;margin-top:1px !important}
.lg-tagline{font-size:12px;color:var(--lg-muted);margin-top:2px !important}

/* corner taglines of the picture */
.lg-tag-top{position:fixed;top:clamp(30px,6vh,60px);right:34px;z-index:0;text-align:left;color:#4B5F86}
.lg-tag-top span{display:block;font-size:17px;letter-spacing:5px;text-transform:uppercase;line-height:1.45}
.lg-tag-top i{display:block;width:44px;height:3px;background:var(--lg-blue);margin-top:10px}
.lg-tag-bottom{position:fixed;right:30px;bottom:22px;z-index:0;color:#fff}
.lg-tag-bottom span{display:block;font-size:14px;letter-spacing:4px;text-transform:uppercase;line-height:1.4}
.lg-tag-bottom i{display:block;width:30px;height:2px;background:#fff;margin-top:8px}

/* card */
.lg-card{box-sizing:border-box;width:0;min-width:100%;margin:0 0 26px;background:#fff;border-radius:18px;padding:30px 32px 26px;box-shadow:0 10px 34px rgba(11,42,102,.14)}
.lg-title{margin:0;text-align:center;font-size:28px;font-weight:700;color:var(--lg-navy)}
.lg-sub{margin:4px 0 22px;text-align:center;color:var(--lg-muted);font-size:15px}
.lg-form .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lg-field{display:flex;align-items:stretch;border:1px solid #CBD3E1;border-radius:8px;background:#fff;overflow:hidden;margin-bottom:16px}
.lg-field:focus-within{border-color:#5B8DEF;box-shadow:0 0 0 3px rgba(91,141,239,.25)}
.lg-ico{display:flex;align-items:center;justify-content:center;width:50px;background:#F3F6FB;border-right:1px solid #DCE2EE}
.lg-field input{flex:1;min-width:0;border:0;outline:0;padding:14px 14px;font:inherit;font-size:16px;color:var(--lg-ink);background:transparent}
.lg-field input::placeholder{color:#8A95AB}
.lg-eye{border:0;background:transparent;padding:0 14px;cursor:pointer;display:flex;align-items:center}
.lg-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-top:6px;padding:15px 16px;border:0;border-radius:10px;cursor:pointer;
  font:inherit;font-size:18px;font-weight:600;color:#fff;background:linear-gradient(90deg,var(--lg-navy),var(--lg-blue));box-shadow:0 4px 12px rgba(26,92,200,.3)}
.lg-submit:hover{filter:brightness(1.08)}
.lg-submit:focus-visible,.lg-tile:focus-visible,.lg-links a:focus-visible{outline:3px solid rgba(91,141,239,.55);outline-offset:2px}
.lg-links{display:flex;justify-content:center;align-items:center;gap:8px 18px;margin:18px 0 14px;flex-wrap:nowrap}
.lg-links a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:var(--lg-blue);text-decoration:none;font-size:13px}
.lg-links svg{width:16px;height:16px}
.lg-links a:hover{text-decoration:underline}
.lg-secure{display:flex;align-items:center;gap:12px;border-top:1px solid #E3E8F1;padding-top:16px;color:var(--lg-muted);font-size:12.5px;line-height:1.4}
.lg-secure svg{flex:none}
.lg-card .notice{margin:0 0 16px}

/* quick access */
.lg-quick{text-align:center;margin:0 auto}
.lg-quick h2{margin:0;font-size:19px;color:var(--lg-navy)}
.lg-quick p{margin:2px 0 12px;color:var(--lg-muted);font-size:13px}
.lg-tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;max-width:860px;margin:0 auto}
.lg-tile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-height:88px;padding:12px 8px;background:rgba(255,255,255,.94);
  border-radius:12px;text-decoration:none;color:var(--lg-navy);font-weight:600;font-size:13px;line-height:1.25;text-align:center;box-shadow:0 3px 10px rgba(11,42,102,.10);transition:transform .12s,box-shadow .12s}
.lg-tile:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(11,42,102,.18)}
.lg-tile-ico{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#E8F0FD}
.lg-tile-ico svg{width:22px;height:22px}
.lg-tile-ico.plain{background:transparent}
.lg-tile .chev{display:none}

/* messages (wrong password, session expired...): site.js turns them into toasts; same look as on the other public pages (auth.css is not loaded here) */
.hus-toasts{position:fixed;right:16px;bottom:16px;z-index:1090;display:flex;flex-direction:column;gap:10px;max-width:min(380px,calc(100vw - 32px))}
.hus-toast{position:relative;padding:12px 38px 12px 14px;border-radius:8px;color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.25);display:flex;flex-direction:column;gap:2px;font-size:.92rem}
.hus-toast.err{background:#B3261E}.hus-toast.ok{background:#1E8E5A}
.hus-toast-x{position:absolute;top:6px;right:8px;background:none;border:0;color:#fff;font-size:1.3rem;line-height:1;cursor:pointer}

/* footer */
.lg-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;max-width:1010px;margin:38px auto 0;padding:14px 0 0;border:0;border-top:1px solid rgba(11,42,102,.18);background:transparent;color:var(--lg-muted);font-size:13px}
.lg-footer a{color:var(--lg-muted)}

@media (max-width:760px){.lg-tiles{grid-template-columns:repeat(3,1fr)}}
@media (max-width:700px){.lg-tag-top,.lg-tag-bottom{display:none}.lg-brand{flex-direction:column;text-align:center}.lg-col{width:100%;min-width:0;max-width:534px}.lg-card{width:auto;min-width:0}}
@media (max-width:520px){.lg-card{padding:24px 20px 20px}.lg-tiles{grid-template-columns:repeat(2,1fr)}.lg-links{gap:8px 14px}}
@media (max-width:380px){.lg-links{flex-wrap:wrap}}
/* the corner slogan sits on the picture's blue corner; on small windows it would run into the footer, so hide it there */
@media (max-width:1250px),(max-height:880px){.lg-tag-bottom{display:none}}
