/* Aveade Business Central | email verification, password setup, completion.
   Scope strictly to required-action/info pages; existing sign-in untouched. */
:root{--bc-orange:#f26517;--bc-ink:#171c26;--bc-border:#d9dee6;--bc-muted:#657184}
body.login-pf:has(.aveade-stage), body:has(.aveade-stage){background:#fff!important;color:var(--bc-ink)!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
body.login-pf:has(.aveade-stage)::before,body:has(.aveade-stage)::before{content:""!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important;width:50%!important;height:100vh!important;background:#1b2125 url('../img/aveade-bc-action-merchant.jpg') center 37%/cover no-repeat!important;display:block!important;z-index:0!important}
body.login-pf:has(.aveade-stage)::after,body:has(.aveade-stage)::after{content:""!important;position:fixed!important;left:50%!important;top:0!important;bottom:0!important;width:1px!important;background:#e2e6ec!important;z-index:2!important}
body:has(.aveade-stage) #kc-header{display:none!important}
body:has(.aveade-stage) .login-pf-page{display:flex!important;flex-direction:column!important;justify-content:center!important;margin:0 0 0 50%!important;width:50%!important;min-height:100vh!important;max-width:none!important;padding:clamp(30px,5vw,72px)!important;background:#fff!important;position:relative!important;z-index:1!important}
body:has(.aveade-stage) #kc-container,body:has(.aveade-stage) #kc-container-wrapper,body:has(.aveade-stage) #kc-content,body:has(.aveade-stage) #kc-content-wrapper{margin:0!important;padding:0!important;max-width:none!important;width:100%!important;min-height:0!important;height:auto!important;background:transparent!important;border:0!important;box-shadow:none!important}
body:has(.aveade-stage) .card-pf,body:has(.aveade-stage) .login-pf-page .card-pf{margin:0 auto!important;max-width:570px!important;width:100%!important;min-height:0!important;padding:0!important;box-shadow:none!important;border:0!important;background:transparent!important}
body:has(.aveade-stage) .login-pf-header,body:has(.aveade-stage) #kc-page-title{display:none!important}
.aveade-stage{max-width:500px;width:100%;margin:auto;display:block;box-sizing:border-box;color:var(--bc-ink)}
.aveade-stage *{box-sizing:border-box}
.aveade-stage-brand{display:flex;align-items:center;gap:18px;margin:0 0 clamp(36px,5vh,68px);white-space:nowrap}
.aveade-stage-brand img{width:171px;max-width:52%;height:auto;display:block}
.aveade-stage-brand-sep{height:39px;width:1px;background:#d8dde4;flex:none}
.aveade-stage-brand-name{font-size:17px;font-weight:700;letter-spacing:-.04em;color:#1e2735}
.aveade-stage-kicker{font-size:11px;letter-spacing:.19em;font-weight:750;text-transform:uppercase;color:#e35b14;margin:0 0 18px}
.aveade-stage-title{font-size:clamp(30px,2.7vw,43px)!important;font-weight:760!important;letter-spacing:-.05em!important;line-height:1.18!important;color:#151b25!important;margin:0 0 13px!important}
.aveade-stage-subtitle{font-size:15px!important;line-height:1.7!important;color:var(--bc-muted)!important;margin:0 0 32px!important;max-width:450px}
.aveade-stage #kc-info-message p.instruction{font-size:15px!important;line-height:1.7!important;color:#424e5e!important;margin:0 0 23px!important}
.aveade-stage #kc-info-message b,.aveade-stage #kc-info-message strong{font-weight:700!important;color:#1a2636!important}
.aveade-stage #kc-info-message a{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;min-height:51px!important;width:100%!important;padding:12px 16px!important;border-radius:10px!important;background:linear-gradient(103deg,#fb790c,#e75314)!important;color:#fff!important;font-size:15px!important;font-weight:700!important;line-height:1.4!important;text-decoration:none!important;border:0!important;box-shadow:0 10px 22px rgba(226,88,20,.12)!important}
.aveade-stage #kc-info-message a:focus-visible,.aveade-stage form input:focus-visible,.aveade-stage form button:focus-visible{outline:3px solid rgba(242,101,23,.25)!important;outline-offset:2px!important}
.aveade-stage #kc-passwd-update-form{margin:0!important;padding:0!important;width:100%!important;background:transparent!important}
.aveade-stage #kc-passwd-update-form .form-group,.aveade-stage #kc-passwd-update-form .pf-c-form__group{margin:0 0 21px!important}
.aveade-stage #kc-passwd-update-form label{display:block!important;font-size:13px!important;font-weight:670!important;color:#263142!important;margin:0 0 9px!important}
.aveade-stage #kc-passwd-update-form input[type=password]{width:100%!important;height:52px!important;border:1px solid var(--bc-border)!important;background:#fff!important;color:#152031!important;font-size:15px!important;padding:0 48px 0 15px!important;border-radius:10px!important;box-shadow:none!important}
.aveade-stage #kc-passwd-update-form input[type=password]:focus{border-color:var(--bc-orange)!important;box-shadow:0 0 0 3px rgba(242,101,23,.14)!important;outline:none!important}
.aveade-stage #kc-passwd-update-form .pf-c-input-group,.aveade-stage #kc-passwd-update-form [class*="input-group"]{position:relative!important;display:flex!important;width:100%!important}
.aveade-stage #kc-passwd-update-form [data-password-toggle]{position:absolute!important;right:5px!important;top:5px!important;min-width:43px!important;height:41px!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;background:transparent!important;color:#5d6677!important;box-shadow:none!important;border-radius:7px!important;cursor:pointer!important}
.aveade-stage #kc-passwd-update-form input[type=checkbox]{accent-color:var(--bc-orange);width:17px;height:17px;vertical-align:middle;margin-right:8px}
.aveade-stage #kc-passwd-update-form #kc-form-buttons{margin-top:28px!important}
.aveade-stage #kc-passwd-update-form input[type=submit],.aveade-stage #kc-passwd-update-form #kc-submit,.aveade-stage #kc-passwd-update-form button[type=submit]:not([name=cancel-aia]){display:block!important;width:100%!important;min-height:52px!important;padding:12px 18px!important;background:linear-gradient(103deg,#fb790c,#e75314)!important;border:0!important;border-radius:10px!important;color:#fff!important;font-size:15px!important;font-weight:700!important;line-height:1.3!important;text-align:center!important;box-shadow:0 10px 22px rgba(226,88,20,.12)!important;cursor:pointer!important}
.aveade-stage #kc-passwd-update-form button[name=cancel-aia]{margin-top:10px!important;color:#253044!important;border:1px solid #cbd2dc!important;background:#fff!important;border-radius:10px!important;min-height:48px!important;width:100%!important}
body:has(.aveade-stage) [class*="alert-"]{max-width:500px!important;margin:0 auto 24px!important;padding:13px 15px!important;line-height:1.5!important;border-radius:9px!important;box-shadow:none!important;font-size:14px!important}
body:has(.aveade-stage) .alert-warning{background:#fff8ed!important;color:#8a570b!important;border:1px solid #f4dcb6!important}
body:has(.aveade-stage) .alert-error,body:has(.aveade-stage) .alert-danger{background:#fff4f3!important;color:#9d302b!important;border:1px solid #f1c9c5!important}
body:has(.aveade-stage) #input-error-password,body:has(.aveade-stage) #input-error-password-confirm{display:block;color:#b43b32!important;margin-top:7px;font-size:12px;line-height:1.4}
@media(max-width:1024px){body:has(.aveade-stage)::before{width:39%!important}body:has(.aveade-stage)::after{left:39%!important}body:has(.aveade-stage) .login-pf-page{margin-left:39%!important;width:61%!important;padding:35px!important}.aveade-stage-brand img{width:157px}.aveade-stage-brand{gap:12px}.aveade-stage-brand-name{font-size:15px}}
@media(max-width:680px){body:has(.aveade-stage)::before,body:has(.aveade-stage)::after{display:none!important}body:has(.aveade-stage) .login-pf-page{margin:0!important;width:100%!important;min-height:100dvh!important;padding:35px 23px!important}.aveade-stage-brand{margin-bottom:43px}.aveade-stage-title{font-size:32px!important}.aveade-stage-subtitle{margin-bottom:25px!important}}
@media(prefers-reduced-motion:reduce){.aveade-stage *,body:has(.aveade-stage) *{transition:none!important;animation:none!important}}
