/* MRH v24.0.39 — specific override of legacy auth CSS + bootstrap form columns.
   No Smarty, footer or header design changes. */
@media (min-width:768px) {
 body#authentication #wrapper #content-wrapper,
 body#registration #wrapper #content-wrapper {width:100%!important;max-width:100%!important;}
 body#authentication #wrapper #main #content,
 body#registration #wrapper #main #content {
   display:block!important;
   width:min(92vw,780px)!important;
   max-width:780px!important;
   margin:0 auto 30px!important;
   padding:38px 44px 42px!important;
   box-sizing:border-box!important;
 }
 body#authentication #wrapper #main .page-header,
 body#registration #wrapper #main .page-header {
   width:min(92vw,780px)!important;max-width:780px!important;
   margin:6px auto 20px!important;text-align:center!important;
 }
 body#authentication #wrapper #login-form .form-group.row,
 body#authentication #wrapper #login-form .form-group,
 body#registration #wrapper #customer-form .form-group.row,
 body#registration #wrapper #customer-form .form-group {
   display:grid!important;
   grid-template-columns:minmax(135px,28%) minmax(0,1fr)!important;
   column-gap:22px!important;
   row-gap:6px!important;
   align-items:center!important;
   width:100%!important;
   margin:0 0 20px!important;
 }
 body#authentication #wrapper #login-form .form-group > label,
 body#authentication #wrapper #login-form .form-group > .form-control-label,
 body#registration #wrapper #customer-form .form-group > label,
 body#registration #wrapper #customer-form .form-group > .form-control-label {
   display:block!important;
   grid-column:1!important;
   float:none!important;width:auto!important;max-width:none!important;
   flex:none!important;text-align:left!important;
   padding:0!important;margin:0!important;
 }
 body#authentication #wrapper #login-form .form-group > :not(label):not(.form-control-label),
 body#registration #wrapper #customer-form .form-group > :not(label):not(.form-control-label) {
   grid-column:2!important;float:none!important;
   width:100%!important;max-width:none!important;min-width:0!important;
   flex:none!important;padding:0!important;margin:0!important;
 }
 body#authentication #wrapper #login-form .form-group .form-control,
 body#registration #wrapper #customer-form .form-group .form-control {
   display:block!important;width:100%!important;max-width:100%!important;
   min-width:0!important;box-sizing:border-box!important;
 }
 body#authentication #wrapper #login-form .input-group,
 body#registration #wrapper #customer-form .input-group {
   display:flex!important;width:100%!important;max-width:100%!important;min-width:0!important;
 }
 body#authentication #wrapper #login-form .input-group > .form-control,
 body#registration #wrapper #customer-form .input-group > .form-control {
   flex:1 1 auto!important;width:1%!important;min-width:0!important;
 }
}
body#authentication #wrapper #login-form .form-control,
body#registration #wrapper #customer-form .form-control {
 min-height:52px!important;font-size:15px!important;
}
body#authentication #wrapper #login-form button[data-action="show-password"],
body#registration #wrapper #customer-form button[data-action="show-password"] {
 min-height:52px!important;
 background:#f0f2f5!important;color:#272d36!important;
 border:1px solid #d8dce2!important;
 font-size:12px!important;font-weight:650!important;
 padding:0 15px!important;
}
body#authentication #wrapper #login-form .forgot-password a,
body#authentication #wrapper #main .no-account a,
body#registration #wrapper #customer-form a {
 font-size:14px!important;line-height:1.55!important;
}
body#authentication #wrapper #submit-login,
body#registration #wrapper #customer-form button[type="submit"] {
 min-width:185px!important;min-height:50px!important;font-size:14px!important;
}
@media(max-width:767px){
 body#authentication #wrapper #login-form .form-group,
 body#registration #wrapper #customer-form .form-group{
  display:block!important;width:100%!important;
 }
 body#authentication #wrapper #login-form .form-group > *,
 body#registration #wrapper #customer-form .form-group > * {
  float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;
 }
 body#authentication #wrapper #login-form .input-group,
 body#registration #wrapper #customer-form .input-group{
  display:flex!important;max-width:100%!important;
 }
 body#authentication #wrapper #login-form .input-group .form-control,
 body#registration #wrapper #customer-form .input-group .form-control{
  width:1%!important;flex:1 1 auto!important;
 }
}
