:root{--navy:#173e55;--blue:#1675ad;--blue-dark:#0e5d8d;--muted:#607582;--border:#d7e5eb;--error:#b42318}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body.auth-page{min-height:100vh;color:var(--navy);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:radial-gradient(circle at 12% 18%,rgba(48,154,214,.18),transparent 29rem),radial-gradient(circle at 88% 82%,rgba(38,96,186,.15),transparent 31rem),linear-gradient(145deg,#f7fbfd 0%,#edf7fb 48%,#f8fbff 100%)}
.auth-shell{display:grid;min-height:100vh;grid-template-rows:auto 1fr auto}.auth-header,.auth-main,.auth-footer{width:min(1120px,calc(100% - 40px));margin-inline:auto}.auth-header{display:flex;align-items:center;justify-content:space-between;padding:34px 0}.auth-brand img{display:block;width:min(270px,62vw);height:auto}.auth-environment{display:inline-flex;gap:8px;align-items:center;color:var(--muted);font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.auth-environment:before{width:8px;height:8px;border-radius:50%;background:#46a875;box-shadow:0 0 0 4px rgba(70,168,117,.12);content:""}
.auth-main{display:grid;place-items:center;padding:32px 0 64px}.auth-card{width:min(500px,100%);overflow:hidden;border:1px solid rgba(215,229,235,.95);border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 24px 70px rgba(20,67,91,.14)}.auth-card-header{display:flex;gap:18px;align-items:center;padding:34px 38px 26px;border-bottom:1px solid #edf3f6}.auth-icon{display:grid;width:54px;height:54px;flex:0 0 54px;place-items:center;border-radius:16px;color:var(--blue);background:#eaf5fb}.auth-icon svg{width:27px;height:27px}.auth-eyebrow{margin:0 0 5px;color:var(--blue);font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.auth-title{margin:0;font-size:28px;line-height:1.15}.auth-description{margin:7px 0 0;color:var(--muted);font-size:14px;line-height:1.5}.auth-card-body{padding:30px 38px 36px}
.auth-alert,.alert{margin-bottom:22px;padding:14px 16px;border:1px solid #f0b4ae;border-radius:10px;color:#8f2018;background:#fff3f2;font-size:13px;line-height:1.45}.auth-alert ul{margin:6px 0 0;padding-left:18px}.alert-success{border-color:#a8dcc0;color:#17633a;background:#effaf4}.auth-field,.form-group{margin-bottom:20px}.auth-field label{display:block;margin-bottom:8px;font-size:14px;font-weight:700}.auth-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.auth-label-row a,.recuperar{color:var(--blue-dark);font-size:13px;font-weight:600;text-decoration:none}.auth-label-row a:hover,.auth-label-row a:focus,.recuperar:hover,.recuperar:focus{text-decoration:underline}
.auth-input-wrap{position:relative}.auth-input-wrap svg{position:absolute;top:50%;left:15px;width:19px;height:19px;color:#7b909b;pointer-events:none;transform:translateY(-50%)}.auth-input-wrap input,.auth-card-body .form-control{width:100%;min-height:50px;padding:12px 14px 12px 45px;border:1px solid var(--border);border-radius:10px;color:var(--navy);background:#fff;font:inherit;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.auth-card-body .form-control{padding-left:14px}.auth-input-wrap input:focus,.auth-card-body .form-control:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(22,117,173,.12)}.has-error .auth-input-wrap input,.has-error .form-control{border-color:var(--error)}.auth-help,.help-block{display:block;margin-top:6px;color:var(--error);font-size:12px}
.auth-remember{display:flex;gap:9px;align-items:center;margin:2px 0 24px;color:var(--muted);font-size:13px;cursor:pointer}.auth-remember input{width:16px;height:16px;margin:0;accent-color:var(--blue)}.auth-submit,.btn-login{display:inline-flex;width:100%;min-height:52px;align-items:center;justify-content:center;gap:10px;padding:0 20px;border:0;border-radius:11px;color:#fff;background:var(--blue);box-shadow:0 10px 24px rgba(22,117,173,.22);font:inherit;font-weight:700;cursor:pointer;transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease}.auth-submit svg{width:20px;height:20px}.auth-submit:hover,.auth-submit:focus,.btn-login:hover,.btn-login:focus{color:#fff;background:var(--blue-dark);box-shadow:0 13px 28px rgba(14,93,141,.27);outline:none;transform:translateY(-2px)}.auth-footer{padding:24px 0 30px;border-top:1px solid rgba(23,62,85,.08);color:#718590;font-size:13px;text-align:center}
@media(max-width:640px){.auth-header{justify-content:center;padding:26px 0 18px}.auth-environment{display:none}.auth-main{align-items:start;padding:28px 0 48px}.auth-card{border-radius:20px}.auth-card-header{align-items:flex-start;padding:28px 24px 22px}.auth-card-body{padding:26px 24px 30px}.auth-label-row{gap:8px}}@media(prefers-reduced-motion:reduce){.auth-submit,.btn-login,.auth-input-wrap input,.auth-card-body .form-control{transition:none}}
