.auth-shell{margin:0;background:#eef0f5;color:#20243c}.auth-shell *,.auth-shell *:before,.auth-shell *:after{box-sizing:border-box}
.auth-page{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;padding:124px 20px 24px;background-image:linear-gradient(135deg,rgba(20,30,64,.12),rgba(20,30,64,.18)),url('../img/bg.jpg');background-size:cover;background-position:center;background-repeat:no-repeat}
.auth-stage{flex:1;display:flex;align-items:center;justify-content:center;padding:24px 0 32px}
.auth-card{width:100%;max-width:420px;padding:32px 36px;border:1px solid rgba(30,40,76,.12);border-radius:14px;background:#fff;box-shadow:0 16px 48px rgba(16,24,50,.19)}
.auth-title{margin:0 0 7px;text-align:center;font-size:23px;line-height:1.3;font-weight:700;color:#252747}
.auth-subtitle{margin:0 0 26px;text-align:center;font-size:14px;line-height:1.5;color:#72778b}
.auth-field{margin-bottom:20px}.auth-label{display:block;margin:0 0 8px;font-size:14px;line-height:1.4;font-weight:700;color:#30334c}
.auth-input{width:100%;min-width:0;min-height:46px;padding:11px 13px;border:1px solid #d8dce6;border-radius:8px;background:#fff;color:#252747;font:inherit;font-size:16px;line-height:1.4;transition:border-color .15s,box-shadow .15s}
.auth-input:focus{outline:0;border-color:#5657a8;box-shadow:0 0 0 3px rgba(47,49,139,.12)}.auth-input[aria-invalid=true]{border-color:#bd3648}
.auth-password{position:relative}.auth-password .auth-input{padding-right:51px}
.auth-password-toggle{position:absolute;top:1px;right:1px;bottom:1px;width:46px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-left:1px solid #e7e9f0;border-radius:0 7px 7px 0;background:#f7f8fb;color:#636a80;cursor:pointer}
.auth-password-toggle:hover{background:#edf0f7;color:#2f318b}.auth-password-toggle:focus-visible{outline:3px solid #8b8dd5;outline-offset:2px}
.auth-password-toggle svg{width:20px;height:20px}.auth-password-toggle .eye-off{display:none}.auth-password-toggle[aria-pressed=true] .eye-on{display:none}.auth-password-toggle[aria-pressed=true] .eye-off{display:block}
.auth-error{display:block;margin-top:7px;color:#b82c41;font-size:13px;line-height:1.45}.auth-hint{display:block;margin-top:7px;font-size:12px;color:#777d91}
.auth-submit-row{text-align:center;margin-top:27px}.auth-submit{min-width:160px;min-height:44px;padding:11px 32px;border:1px solid #2f318b;border-radius:999px;background:#2f318b;color:#fff;font:inherit;font-size:15px;font-weight:600;line-height:1.4;cursor:pointer;transition:background-color .15s,box-shadow .15s}
.auth-submit:hover{background:#262775;border-color:#262775;box-shadow:0 5px 16px rgba(47,49,139,.2)}.auth-submit:focus-visible{outline:3px solid #999be3;outline-offset:3px}
.auth-divider{display:flex;align-items:center;gap:12px;margin:24px 0 15px;font-size:12px;font-weight:600;color:#9a9eb0}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:#e8eaf1}
.auth-links{margin:8px 0 0;text-align:center;font-size:13px;line-height:1.65;color:#74798c}.auth-links a{color:#2f318b;font-weight:600;text-decoration:none}.auth-links a:hover{text-decoration:underline}
.auth-feedback{margin:0 0 20px;padding:12px 14px;border:1px solid;border-radius:8px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.auth-feedback-error{color:#8f2637;background:#fff0f2;border-color:#f1c4cc}.auth-feedback-success{color:#175b40;background:#edfaf3;border-color:#bfe5d0}.auth-feedback-info{color:#344b78;background:#f0f5ff;border-color:#cbdaf4}
.auth-copyright{position:relative;margin:0;text-align:center;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.5);font-size:12px;line-height:1.6}
@media(max-width:575.98px){.auth-shell .navbar-brand img{width:64px;height:64px;object-fit:contain}.auth-page{padding:108px 16px 20px}.auth-stage{padding:16px 0 28px}.auth-card{padding:28px 23px;border-radius:12px}.auth-title{font-size:22px}.auth-subtitle{margin-bottom:23px}.auth-submit{width:100%}.auth-copyright{max-width:300px;margin:0 auto}}
@media(max-height:650px) and (min-width:576px){.auth-page{padding-top:108px}.auth-stage{padding-top:18px;padding-bottom:22px}}
@media(prefers-reduced-motion:reduce){.auth-input,.auth-submit{transition:none}}

