* { box-sizing: border-box; }
html { background: #ececef; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: #111a3e; }
button, input { font: inherit; }
a { text-decoration: none; }
.auth-app { position: relative; width: 100%; max-width: 480px; min-height: 100vh; margin: 0 auto; overflow: hidden; background: #fff; box-shadow: 0 0 25px #0002; display: flex; flex-direction: column; }
.auth-app::before { content: ""; position: absolute; z-index: 0; left: -30%; right: -30%; bottom: 12%; height: 36%; opacity: .42; pointer-events: none; background: linear-gradient(25deg, transparent 26%, #f4f5f7 27% 32%, transparent 33% 48%, #f5f5f8 49% 54%, transparent 55%), radial-gradient(circle at 65% 30%, #f9f9fb 0 21%, transparent 22%); transform: rotate(-12deg); }
.auth-main { position: relative; z-index: 1; flex: 1; padding: 0 27px; display: flex; flex-direction: column; }
.auth-brand { text-align: center; margin: 48px 0 20px; }
.auth-logo { display: block; width: min(100%, 290px); height: auto; margin: 0 auto; }
.auth-brand em { display: block; font-size: 13px; font-weight: 700; font-style: italic; color: #17203f; margin-top: 0; }
.auth-form { width: 100%; }
.auth-field { display: flex; align-items: center; width: 100%; min-height: 53px; border-bottom: 1px solid #929292; gap: 11px; }
.auth-field + .auth-field { margin-top: 1px; }
.auth-field svg { flex: none; width: 21px; height: 21px; stroke: #888; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.auth-field input { width: 100%; flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #222; font-size: 14px; padding: 0; }
.auth-field input::placeholder { color: #999; opacity: 1; }
.auth-field:focus-within { border-bottom-color: #ea0928; }
.auth-field:focus-within svg { stroke: #e60829; }
.eye-toggle { flex: none; width: 24px; height: 30px; border: 0; padding: 0; display: grid; place-items: center; background: transparent; cursor: pointer; }
.eye-toggle svg { width: 20px; height: 20px; fill: #888; stroke: none; }
.auth-submit { width: 100%; height: 39px; border: 0; border-radius: 5px; margin-top: 21px; background: #f10922; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.auth-submit:active { background: #cf0924; }
.auth-remember-note { margin: 8px 0 0; color: #7a7f89; font-size: 11px; text-align: center; line-height: 1.35; }
.auth-message { margin: 9px 0 0; padding: 9px 11px; border-radius: 5px; font-size: 13px; text-align: center; }
.auth-message.error { background: #fff0f2; color: #d10e2d; }
.auth-message.success { background: #eff9f0; color: #267638; }
.fingerprint-strip { margin: 9px -20px 2px; height: 43px; border-radius: 50%; background: #f7f7f9; display: grid; place-items: center; transform: rotate(-4deg); }
.fingerprint-strip svg { width: 22px; height: 22px; stroke: #e9324f; fill: none; stroke-width: 1.6; transform: rotate(4deg); }
.auth-forgot { display: block; color: #f10922; font-size: 12px; margin: 4px 0 13px; }
.auth-guest { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 35px; color: #c5c5c9; background: #fafafa; border: 1px solid #d2d2d5; border-radius: 5px; font-size: 12px; cursor: not-allowed; }
.auth-switch { display: block; text-align: center; margin: 16px 0 0; color: #0562ed; font-size: 14px; font-weight: 700; }
.auth-android-nav { position: relative; z-index: 1; flex: none; height: 47px; background: #000; display: flex; align-items: center; justify-content: center; }
.auth-android-nav::after { content: ""; width: 36px; height: 4px; border-radius: 5px; background: #a3a3a3; }
.auth-android-nav::before { content: "‹"; position: absolute; left: 15%; top: 2px; color: #fff; font-size: 19px; font-weight: 300; }
.auth-back { position: absolute; z-index: 2; top: 13px; left: 21px; color: #6d6d76; font-size: 25px; line-height: 1; }
.auth-app.register .auth-brand { margin: 38px 0 18px; }
.auth-app.register .auth-submit { margin-top: 22px; }
.auth-app.register .auth-switch { margin-top: 18px; }
@media (max-width: 340px) { .auth-main { padding: 0 24px; } .auth-brand { margin-top: 41px; } }
