/* CentralPay official brand image */
.brand-logo{display:block;width:190px;height:auto;max-height:78px;object-fit:contain;border-radius:0;flex:0 0 auto}
.login-brand-panel .brand-logo{width:230px;max-height:94px}
.mobile-brand .brand-logo{width:190px;max-height:78px}
@media(max-width:760px){.sidebar-brand .brand-logo{width:190px;max-height:78px}}

/* Center the brand image within its available header area */
.brand-logo{margin-inline:auto}
.sidebar-brand,.login-brand-panel>.brand,.mobile-brand{justify-content:center;width:100%}


/* Login brand alignment: match the headline and supporting copy left edge. */
.login-brand-panel > .brand{justify-content:flex-start;width:auto;align-self:flex-start}
.login-brand-panel > .brand .brand-logo{margin-inline:0}

/* Mobile login logo: align with the copy and show the complete wordmark. */
@media(max-width:760px){
  .login-form-panel .mobile-brand{display:flex;justify-content:flex-start;align-self:stretch;width:100%;margin-left:0;margin-right:0;overflow:visible}
  .login-form-panel .mobile-brand .brand-logo{display:block;width:min(310px,100%);max-width:100%;height:auto;max-height:none;object-fit:contain;object-position:left center;margin:0;flex:0 1 auto}
}

/* Final login wordmark fit: keep the complete source image inside its own column. */
.login-brand-panel{min-width:0}
.login-brand-panel>.brand{display:flex;box-sizing:border-box;width:100%;max-width:100%;min-width:0;justify-content:flex-start;align-self:stretch;overflow:visible;margin:0 0 24px;padding:0}
.login-brand-panel>.brand .brand-logo{display:block;box-sizing:border-box;width:min(300px,100%);max-width:100%;height:auto;max-height:none;min-width:0;object-fit:contain;object-position:left center;flex:0 1 auto;margin:0}
.login-form-panel .mobile-brand{box-sizing:border-box;max-width:100%;min-width:0;overflow:visible}
.login-form-panel .mobile-brand .brand-logo{width:min(300px,100%);max-width:100%;height:auto;max-height:none;object-fit:contain;object-position:left center;flex:0 1 auto}
.login-brand-panel .brand-message{min-width:0;max-width:100%}
