* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; overflow: hidden; background: #f7fbfd; color: #173b61; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.login-waves { position: fixed; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(circle at 14% 10%, #fff 0 12%, transparent 42%), linear-gradient(145deg, #f9fcfe 0%, #edf7fb 56%, #e6f3f8 100%); }
.login-waves:before, .login-waves:after, .login-waves i { content: ""; position: absolute; left: -18%; width: 136%; border-radius: 50%; filter: blur(.2px); animation: waveDrift 24s ease-in-out infinite alternate; }
.login-waves:before { top: 31%; height: 31%; background: linear-gradient(100deg, rgba(212,236,246,.25), rgba(130,196,222,.58), rgba(218,240,248,.3)); transform: rotate(-4deg); }
.login-waves:after { top: 47%; height: 25%; background: linear-gradient(100deg, rgba(122,192,220,.18), rgba(72,163,203,.38), rgba(196,230,241,.22)); transform: rotate(3deg); animation-duration: 31s; animation-direction: alternate-reverse; }
.login-waves i:first-child { top: 39%; height: 16%; border: 1px solid rgba(255,255,255,.54); background: rgba(255,255,255,.18); transform: rotate(-2deg); animation-duration: 28s; }
.login-waves i:last-child { top: 62%; height: 20%; background: linear-gradient(90deg, rgba(199,230,242,.22), rgba(91,177,213,.2)); transform: rotate(-5deg); animation-duration: 35s; animation-direction: alternate-reverse; }
@keyframes waveDrift { from { translate: -2% 0; } to { translate: 3% 1.5%; } }
.login-card { position: relative; z-index: 1; width: min(370px, calc(100vw - 32px)); padding: 31px 34px 25px; border: 1px solid rgba(192,214,229,.82); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: 0 22px 58px rgba(30,78,111,.18), 0 2px 5px rgba(30,78,111,.05); backdrop-filter: blur(17px); animation: cardIn .6s ease both; }
.login-logo { display: block; width: 142px; height: auto; margin: 0 auto 19px; }.login-eyebrow { margin: 0; color: #2b6a98; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-align: center; }.login-copy { margin: 9px auto 22px; color: #70879b; font-size: 11px; line-height: 1.45; text-align: center; }
.field-label, .login-card label:not(.remember) { display: block; color: #365976; font-size: 11px; font-weight: 700; }.user-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 15px; }.field-label { grid-column: 1 / -1; }
.user-option { display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 10px; border: 1px solid #c6d8e7; border-radius: 10px; background: #fbfdff; color: #365976; font: 700 11px inherit; cursor: pointer; transition: .18s ease; }.user-option:hover { border-color: #75a9ce; background: #f4faff; }.user-option.is-selected { border-color: #22629a; background: #edf7fc; color: #154e7f; box-shadow: 0 0 0 3px rgba(71,134,181,.12); }.user-initial { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: #e3f1f8; color: #236393; font-size: 11px; }.user-option.is-selected .user-initial { background: #236393; color: #fff; }
.login-card label:not(.remember) { margin: 0 0 13px; }.login-card input[type=password] { display: block; width: 100%; height: 43px; margin-top: 6px; padding: 0 12px; border: 1px solid #c6d8e7; border-radius: 10px; background: #fbfdff; color: #173b61; font: inherit; }.login-card input:focus { outline: 0; border-color: #4786b5; box-shadow: 0 0 0 3px rgba(71,134,181,.13); }.remember { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; color: #647e92; font-size: 10px; }.remember input { width: 15px; height: 15px; accent-color: #245d8f; caret-color: transparent; }
.login-card button[type=submit] { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 43px; padding: 0 15px; border: 0; border-radius: 10px; background: linear-gradient(105deg, #1d5789, #27699c); color: #fff; font: 700 12px inherit; box-shadow: 0 8px 18px rgba(32,87,136,.22); cursor: pointer; }.login-card button[type=submit]:hover { background: #174a78; }.login-card button span { font-size: 19px; font-weight: 400; }.login-error { margin: 0 0 12px; padding: 9px 11px; border: 1px solid #f0c5cc; border-radius: 9px; background: #fff3f4; color: #a53b4c; font-size: 10px; }.login-footer { margin: 19px 0 0; color: #9aaab7; font-size: 8px; text-align: center; letter-spacing: .06em; text-transform: uppercase; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } } @media (max-width: 520px) { .login-card { padding: 27px 24px 22px; border-radius: 20px; } }
