:root{--blue:#174c73;--line:#dbe4eb;--text:#172033;--muted:#6c7b89}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:grid;place-items:center;background:linear-gradient(145deg,#edf6fb,#f7f9fb);font:15px/1.4 "Segoe UI",Arial,sans-serif;color:var(--text)}
.auth-shell{width:min(920px,calc(100% - 32px));display:grid;grid-template-columns:1fr 430px;gap:28px;align-items:center}.auth-brand{display:flex;gap:18px;align-items:center}.auth-logo{width:78px;height:78px;border-radius:22px;display:grid;place-items:center;overflow:hidden;box-shadow:0 15px 35px #174c7333}.auth-logo img{display:block;width:100%;height:100%}.auth-brand h1{font-size:32px;margin:0}.auth-brand p{margin:4px 0;color:var(--muted)}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:0 18px 55px #264b651c}.auth-card h2{margin:0 0 5px}.auth-card p{color:var(--muted);margin:0 0 20px}.auth-card label{display:grid;gap:5px;font-weight:650;margin:13px 0}.auth-card input{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px;font:inherit}.auth-card button{width:100%;border:0;border-radius:10px;background:var(--blue);color:#fff;padding:11px;margin-top:14px;font-weight:700;cursor:pointer}.auth-card .link-button{background:transparent;color:var(--blue);margin-top:6px}.auth-card small{color:var(--muted)}.message{padding:10px 12px;border-radius:9px;margin-bottom:15px;background:#fff0f0;color:#a52727;border:1px solid #efc6c6}
.auth-card .password-field{display:grid;grid-template-columns:1fr auto;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}.auth-card .password-field input{border:0;border-radius:0;min-width:0;outline:0}.auth-card .password-field:focus-within{border-color:#6aaed8;box-shadow:0 0 0 3px #6aaed826}.auth-card .password-field .password-toggle{width:auto;min-width:92px;margin:0;padding:11px 12px;border-radius:0;background:#edf6fb;color:var(--blue);border-left:1px solid var(--line)}
@media(max-width:760px){.auth-shell{grid-template-columns:1fr}.auth-brand{justify-content:center}.auth-brand h1{font-size:24px}.auth-card{padding:22px}}

.auth-card select{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;color:var(--text)}
.auth-card button:disabled{opacity:.6;cursor:wait}

.message.success{background:#edf9f2;border-color:#b8ddca;color:#087b45}
