* { box-sizing: border-box; }
body.iris-login { margin: 0; min-height: 100vh; min-height: 100svh; background: #fff; color: #19222d; font-family: Arial, Helvetica, sans-serif; }
.login-layout { width: 100%; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 20px; }
.login-brand { margin: 0 0 28px; text-align: center; font-size: 56px; line-height: 1.05; font-weight: 700; letter-spacing: 1px; }
.login-brand span { color: #1262f5; font-size: .62em; font-weight: 400; letter-spacing: 2px; white-space: nowrap; }
.login-card { width: 100%; max-width: 420px; margin: 0; padding: 28px; background: #fff; border: 1px solid #e4eaf2; border-radius: 18px; box-shadow: 0 10px 28px rgba(42, 78, 127, .10); }
.login-card h2 { margin: 0; text-align: center; font-size: 28px; line-height: 1.2; font-weight: 500; }
.login-subtitle { margin: 8px 0 24px; color: #718096; text-align: center; font-size: 15px; line-height: 1.4; }
.login-field { display: flex; align-items: center; min-height: 50px; margin-bottom: 12px; padding: 0 10px 0 14px; border: 1px solid #C5CFDC; border-radius: 10px; color: #657387; background: #F0F3F8; }
.login-field > svg { width: 20px; height: 20px; flex-shrink: 0; margin-right: 12px; }
.iris-login svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-field input { width: 100%; min-width: 0; padding: 14px 0; border: 0; outline: 0; color: #19222d; background: transparent; font: inherit; font-size: 16px; }
.login-field input::placeholder { color: #718096; opacity: 1; }
.login-field:focus-within { border-color: #176cf6; box-shadow: 0 0 0 3px #176cf620; }
.password-toggle { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; margin-right: -6px; margin-left: 4px; padding: 6px; border: 0; border-radius: 8px; color: #657387; background: transparent; cursor: pointer; }
.password-toggle[hidden] { display: none; }
.password-toggle svg { width: 22px; height: 22px; }
.password-toggle[aria-pressed="true"] .eye-slash { display: none; }
.password-toggle:hover { background: #edf3fb; }
.iris-login button:focus-visible { outline: 3px solid #164db2; outline-offset: 4px; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 50px; margin-top: 16px; padding: 12px; border: 1px solid #268bff; border-radius: 10px; background: linear-gradient(115deg, #32a5fa, #0960f5); box-shadow: 0 9px 16px #1680ef30; color: #fff; font: inherit; font-size: 16px; cursor: pointer; }
.login-submit:hover { filter: brightness(.96); }
.login-submit svg { width: 20px; height: 20px; }
.login-error { padding: 12px 16px; margin: 0 0 18px; border: 1px solid #f0c7c7; border-radius: 10px; background: #fff4f4; color: #9c2525; }
.login-duck { position: fixed; right: 24px; bottom: 24px; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid #e4eaf2; border-radius: 50%; background: #fff; box-shadow: 0 5px 15px #294d7910; overflow: hidden; }
.login-duck img { width: 72%; height: 72%; object-fit: contain; border-radius: 50%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 480px) {
 .login-layout { padding: 80px 16px; }
 .login-brand { font-size: 46px; margin-bottom: 24px; }
 .login-card { padding: 24px 20px; }
 .login-card h2 { font-size: 26px; }
 .login-subtitle { font-size: 14px; }
 .login-duck { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
/* On short screens, reserve room for the mascot below the scrolling form. */
@media (max-height: 600px) {
 body.iris-login { position: relative; }
 .login-duck { position: absolute; }
}
