/* Password-reset-only presentation. Existing form action, fields and auth flow remain intact. */
body.portal-reset{margin:0;min-height:100vh;display:flex;flex-direction:column;background:#f5f8fb;color:#213b59;font:16px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.portal-reset *{box-sizing:border-box}
.portal-reset header{position:static;background:#142c46;border-bottom:3px solid #00abc9;padding:25px 40px;width:100%;min-height:86px}
.portal-reset header .container-fluid{padding:0;max-width:1440px;margin:auto}
.portal-reset header .logo{float:none;width:auto;margin:0;padding:0;text-align:left}
.portal-reset header .logo a{display:inline-flex;align-items:center}
.portal-reset header .logo img{width:160px;max-width:100%;height:auto}
.portal-reset .top-content{flex:1;width:100%;padding:0;text-align:left}
.portal-reset .inner-bg{padding:64px 24px 48px}
.portal-reset .inner-bg>.container{width:100%;max-width:480px;padding:0;margin:auto}
.portal-reset .row{margin:0}
.portal-reset .formtop-title{font-size:30px;font-weight:650;line-height:1.25;letter-spacing:-.8px;color:#213b59;margin:0 0 26px;padding:0;text-align:center}
.portal-reset .formbox-margin{width:100%;float:none;margin:0;padding:0}
.portal-reset .form-logo{display:none}
.portal-reset .form-box{margin:0;background:white;border:1px solid #ccd6e1;border-radius:14px;box-shadow:0 12px 36px #213b590b;overflow:hidden}
.portal-reset .form-top{display:flex;align-items:center;justify-content:space-between;gap:16px;background:white;border:0;border-bottom:1px solid #e0e7ee;padding:25px 30px;border-radius:0}
.portal-reset .form-top-left{float:none;width:auto;padding:0}
.portal-reset .form-top h3{margin:0;color:#213b59;font-size:22px;font-weight:650;line-height:1.4}
.portal-reset .form-top-right{float:none;width:40px;height:40px;display:grid;place-items:center;background:#e2eef6;border-radius:10px;color:#4a70a4;font-size:22px;line-height:1;opacity:1;padding:0}
.portal-reset .form-bottom{padding:27px 30px 29px;background:white;border-radius:0;text-align:left}
.portal-reset .form-horizontal .form-group{float:none;width:100%;padding:0;margin:0 0 21px}
.portal-reset label.sr-only{position:static;display:block;width:auto;height:auto;margin:0 0 8px;padding:0;clip:auto;overflow:visible;color:#36536d;font-size:14px;font-weight:600}
.portal-reset input.form-control{width:100%;height:50px;padding:12px 14px;background:#fff;border:1px solid #b8c9da;border-radius:7px;font-family:inherit;font-size:16px;line-height:1.5;color:#213b59;box-shadow:none;text-shadow:none}
.portal-reset input.form-control::placeholder{color:#667b90;opacity:1}
.portal-reset input.form-control:focus{border-color:#4a70a4;box-shadow:0 0 0 3px #4a70a41a;outline:0}
.portal-reset button.btn{display:block;width:100%;height:auto;min-height:50px;margin:7px 0 0;padding:12px 20px;background:#4a70a4;border:1px solid #4a70a4;border-radius:7px;color:#fff;font-size:16px;font-weight:650;text-shadow:none;box-shadow:none;opacity:1}
.portal-reset button.btn:hover{background:#385b88;border-color:#385b88;color:white}
.portal-reset a:focus-visible,.portal-reset button:focus-visible{outline:3px solid #edb84c;outline-offset:3px}
.portal-reset .loginform-bottom{display:flex;justify-content:space-between;gap:20px;clear:both;margin:23px 0 0;padding:20px 0 0;border-top:1px solid #e0e7ee}
.portal-reset .formbottom-left,.portal-reset .formbottom-right{float:none;width:auto;margin:0;padding:0;text-align:left;font-size:14px}
.portal-reset .loginform-bottom a{color:#365f8c;text-decoration:none;display:inline-block;padding:4px 0}
.portal-reset .loginform-bottom a:hover{text-decoration:underline;color:#213b59}
.portal-reset .help-block{font-size:14px;line-height:1.5;overflow-wrap:anywhere;color:#a3343f;margin:7px 0 0}
.portal-reset .has-error input{border-color:#b44b56}
.portal-reset .alert{font-size:14px;line-height:1.5;border-radius:7px;padding:13px 16px;margin:0 0 22px;overflow-wrap:anywhere}
.portal-reset .alert-danger{background:#fff1f2;border:1px solid #efc7cb;color:#93353f}
.portal-reset .alert-success{background:#edf7f1;border:1px solid #bddcc9;color:#2f6950}
.portal-reset footer{position:static;width:100%;margin:0;padding:0;background:transparent;color:#52657a}
.portal-reset .footer{padding:24px;background:transparent;border:0;text-align:center}
.portal-reset .footer .container{width:auto;max-width:100%;padding:0}
.portal-reset .footer span{font-size:11px;letter-spacing:.25px;color:#52657a}
@media(max-width:600px){.portal-reset header{padding:22px 24px;min-height:79px}.portal-reset header .logo img{width:145px}.portal-reset .inner-bg{padding:38px 20px 34px}.portal-reset .formtop-title{font-size:26px;margin-bottom:23px}.portal-reset .form-top{padding:21px 23px}.portal-reset .form-bottom{padding:24px 23px}.portal-reset .footer{padding:22px 20px}.portal-reset .footer span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.portal-reset *{transition:none!important;animation:none!important}}

/* Override the retained legacy mobile submit width without affecting other auth pages. */
@media(max-width:767px){.portal-reset button.btn[type="submit"]{width:100%!important}}

/* Retained desktop submit sizing is also important; keep all login sizes consistent. */
.portal-reset button.btn[type="submit"]{width:100%!important;line-height:1.5;font-family:inherit}
.portal-reset button.btn:focus-visible{outline:3px solid #edb84c;outline-offset:3px;opacity:1}

/* Keep long reset labels inside the card and give the return link a generous target. */
.portal-reset button.btn {white-space:normal;overflow-wrap:anywhere}
.portal-reset .loginform-bottom a {min-height:44px;display:inline-flex;align-items:center}

/* Remove legacy fixed-header spacing on this static-header auth page. */
body.portal-reset{padding-top:0}
