html.mm-auth-document,
html.mm-auth-document body{
  width:100%!important;
  min-height:100%!important;
  height:auto!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto;
}

body.mm-auth-fullscreen-page{
  margin:0!important;
  width:100%!important;
  min-height:100%!important;
  height:auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  background:#fff!important;
  touch-action:pan-y!important;
}

body.mm-auth-fullscreen-page header,
body.mm-auth-fullscreen-page footer,
body.mm-auth-fullscreen-page .site-header,
body.mm-auth-fullscreen-page .site-footer,
body.mm-auth-fullscreen-page .page-header,
body.mm-auth-fullscreen-page .page-title,
body.mm-auth-fullscreen-page .woocommerce-breadcrumb,
body.mm-auth-fullscreen-page .bottom-nav,
body.mm-auth-fullscreen-page .mobile-bottom-menu,
body.mm-auth-fullscreen-page .sticky-bottom-menu,
body.mm-auth-fullscreen-page #preloader{
  display:none!important;
}

.mm-auth-wrap,
.mm-auth-wrap *{
  box-sizing:border-box;
}

.mm-auth-wrap{
  position:fixed;
  top:0;
  right:0;
  bottom:auto;
  left:0;
  z-index:5357467748;
  width:100%;
  height:var(--mm-auth-viewport-height,100dvh);
  min-height:0;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  background:#fff center/cover no-repeat;
  color:#171d29;
  font-family:inherit;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  touch-action:pan-y;
  scrollbar-gutter:stable;
}

.mm-auth-card{
  width:100%;
  max-width:720px;
  min-height:auto;
  height:auto;
  flex:0 0 auto;
  background:#fff;
  overflow:visible;
}

.mm-auth-close{
  display:none;
}

.mm-auth-hero{
  position:relative;
  width:100%;
  aspect-ratio:720/520;
  min-height:260px;
  overflow:hidden;
  background:
    radial-gradient(circle at 87% 23%,rgba(255,255,255,.52) 0 7%,transparent 7.5%),
    linear-gradient(135deg,#fde1e1 0%,#ffd2d2 100%);
  background-position:center;
  background-size:cover;
}

.mm-auth-hero>img:not(.mm-auth-logo){
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.mm-auth-hero-fallback{
  position:absolute;
  inset:0;
  z-index:1;
  padding:38px 42px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:28px;
  color:#d72828;
}

.mm-auth-hero.has-image .mm-auth-hero-fallback{
  display:none;
}

.mm-auth-brand-name{
  display:block;
  font-size:56px;
  line-height:1;
  font-weight:900;
  letter-spacing:-2px;
}

.mm-auth-hero-fallback span{
  max-width:340px;
  font-size:30px;
  line-height:1.35;
  font-weight:650;
}

.mm-auth-logo{
  display:block;
  width:auto;
  max-width:210px;
  max-height:84px;
  object-fit:contain;
}

.mm-auth-logo--overlay{
  position:absolute;
  z-index:3;
  top:32px;
  left:38px;
  max-width:170px;
  max-height:68px;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.08));
}

.mm-auth-body{
  padding:32px 24px calc(24px + env(safe-area-inset-bottom));
  background:#fff;
}

.mm-auth-pane{
  display:none;
}

.mm-auth-pane.is-active{
  display:block;
  animation:mmAuthPaneIn .24s ease both;
}

.mm-auth-form{
  width:100%;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:#fff center/cover no-repeat;
  box-shadow:none;
}

.mm-auth-title{
  margin:0 0 18px;
  color:#171d29;
  font-size:29px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:-.35px;
}

.mm-auth-subtitle{
  margin:0 0 28px;
  color:#707787;
  font-size:22px;
  line-height:1.45;
  font-weight:400;
}

.mm-auth-sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.mm-auth-form input:not(.mm-otp-input){
  width:100%;
  height:96px;
  min-height:54px;
  margin:0 0 28px;
  padding:0 30px;
  border:2px solid #e7e7e7!important;
  border-radius:15px!important;
  outline:none;
  background:#fff!important;
  color:#252b37;
  font:inherit;
  font-size:26px;
  line-height:1;
  box-shadow:none!important;
  transition:border-color .18s ease,box-shadow .18s ease;
}

.mm-auth-form input:not(.mm-otp-input)::placeholder{
  color:#8b92a0;
  opacity:1;
}

.mm-auth-form input:not(.mm-otp-input):focus{
  border-color:#078b53!important;
  box-shadow:0 0 0 4px rgba(7,139,83,.12)!important;
}

.mm-auth-form input:-webkit-autofill,
.mm-auth-form input:-webkit-autofill:hover,
.mm-auth-form input:-webkit-autofill:focus,
.mm-auth-form input:-webkit-autofill:active{
  -webkit-text-fill-color:#252b37!important;
  -webkit-box-shadow:0 0 0 1000px #fff inset!important;
  box-shadow:0 0 0 1000px #fff inset!important;
  transition:background-color 9999s ease-out 0s;
}

.mm-name-input{
  display:block;
}

.mm-phone-field{
  position:relative;
  width:100%;
  height:96px;
  min-height:54px;
  margin:0 0 28px;
  display:flex;
  align-items:center;
  border:2px solid #e7e7e7;
  border-radius:15px;
  background:#fff;
  overflow:hidden;
  transition:border-color .18s ease,box-shadow .18s ease;
}

.mm-phone-field:focus-within{
  border-color:#078b53;
  box-shadow:0 0 0 4px rgba(7,139,83,.12);
}

.mm-country-prefix{
  flex:0 0 auto;
  min-width:92px;
  padding-left:30px;
  color:#29303d;
  font-size:26px;
  font-weight:500;
  white-space:nowrap;
}

.mm-phone-field input:not(.mm-otp-input){
  flex:1 1 auto;
  min-width:0;
  height:100%;
  margin:0;
  padding:0 24px 0 8px;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}

.mm-phone-field input:not(.mm-otp-input):focus{
  border:0!important;
  box-shadow:none!important;
}


.mm-auth-form.is-otp-open > .mm-auth-btn[type="submit"]{
  display:none!important;
}

.mm-auth-btn{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-height:80px;
  margin:0;
  padding:17px 24px;
  border:0;
  border-radius:15px;
  background:#fe5f14;
  color:#fff;
  font:inherit;
  font-size:27px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:.1px;
  text-align:center;
  cursor:pointer;
  box-shadow:none;
  transition:background .18s ease,transform .12s ease,opacity .18s ease;
}

.mm-auth-btn:hover,
.mm-auth-btn:focus{
  background:#078b49;
  outline:none;
}

.mm-auth-btn:active{
  transform:scale(.99);
}

.mm-auth-btn[disabled]{
  opacity:.65;
  cursor:not-allowed;
  transform:none;
}

.mm-auth-bottom-note{
  margin:22px 0 0;
  text-align:center;
  color:#727986;
  font-size:16px;
  line-height:1.4;
}

.mm-auth-bottom-note a,
.mm-auth-switch{
  color:#078f4d;
  font-weight:750;
  text-decoration:none;
}

.mm-auth-bottom-note a:hover,
.mm-auth-switch:hover{
  text-decoration:underline;
}

.mm-auth-message{
  width:100%;
  max-width:660px;
  margin:12px auto 0;
  padding:12px 14px;
  border-radius:10px;
  text-align:center;
  font-size:16px;
  line-height:1.4;
  font-weight:650;
}

.mm-auth-message:empty{
  display:none;
}

.mm-auth-message.is-error{
  color:#c62828;
  background:#fff1f1;
}

.mm-auth-message.is-success{
  color:#078f4d;
  background:#eefaf3;
}

.mm-inline-otp{
  display:none;
  margin:0 0 18px;
  padding:24px 20px;
  border:1px solid #b9e4cd;
  border-radius:15px;
  background:#f4fbf7 center/cover no-repeat;
}

.mm-inline-otp.is-open{
  display:block;
  animation:mmAuthOtpIn .25s ease both;
}

.mm-inline-otp-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.mm-inline-otp-icon{
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#dff5e8;
  color:#078f4d;
  font-size:12px;
  font-weight:850;
}

.mm-inline-otp-head h3{
  margin:0;
  color:#222a35;
  font-size:19px;
  line-height:1.15;
}

.mm-inline-otp-head p{
  margin:4px 0 0;
  color:#747b87;
  font-size:14px;
  line-height:1.35;
}

.mm-otp-boxes{
  display:grid;
  grid-template-columns:repeat(4,56px);
  justify-content:center;
  gap:12px;
  margin-bottom:20px;
}

.mm-otp-input{
  width:56px!important;
  height:56px!important;
  min-height:56px!important;
  margin:0!important;
  padding:0!important;
  border:1.5px solid #9fcfb4!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#202731!important;
  text-align:center;
  font-size:24px!important;
  font-weight:750!important;
  box-shadow:none!important;
}

.mm-otp-input:focus{
  border-color:#078f4d!important;
  box-shadow:0 0 0 3px rgba(7,143,77,.12)!important;
  outline:none;
}

.mm-auth-timer{
  margin:0 0 14px;
  padding:10px 12px;
  border-radius:10px;
  background:#e6f6ed;
  color:#4e6358;
  text-align:center;
  font-size:13px;
}

.mm-auth-btn--verify{
  min-height:56px;
  font-size:17px;
  margin-bottom:8px;
}

.mm-auth-link{
  display:block;
  width:100%;
  padding:10px 0;
  border:0;
  background:transparent;
  color:#078f4d;
  font:inherit;
  font-size:14px;
  font-weight:750;
  cursor:pointer;
}

.mm-auth-link[disabled]{
  opacity:.55;
  cursor:not-allowed;
}

.mm-auth-dev-otp{
  margin-top:6px;
  color:#727986;
  text-align:center;
  font-size:12px;
}

@keyframes mmAuthPaneIn{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes mmAuthOtpIn{
  from{opacity:0;transform:translateY(-6px)}
  to{opacity:1;transform:translateY(0)}
}

@media (max-width:759px){
  .mm-auth-hero{
    min-height:0;
  }

  .mm-auth-hero-fallback{
    padding:20px 24px;
    gap:16px;
  }

  .mm-auth-brand-name{
    font-size:34px;
    letter-spacing:-1px;
  }

  .mm-auth-hero-fallback span{
    max-width:220px;
    font-size:18px;
  }

  .mm-auth-logo{
    max-width:145px;
    max-height:58px;
  }

  .mm-auth-logo--overlay{
    top:18px;
    left:22px;
    max-width:120px;
    max-height:48px;
  }

  .mm-auth-body{
    padding:24px 20px calc(18px + env(safe-area-inset-bottom));
  }

  .mm-auth-title{
    margin-bottom:12px;
    font-size:21px;
  }

  .mm-auth-subtitle{
    margin-bottom:34px;
    font-size:16px;
  }

  .mm-auth-form input:not(.mm-otp-input){
    height:58px;
    padding:0 20px;
    border-width:1.5px!important;
    border-radius:9px!important;
    font-size:16px;
    margin-bottom:16px;
  }

  .mm-phone-field{
    height:58px;
    margin-bottom:22px;
    border-width:1.5px;
    border-radius:9px;
  }

  .mm-country-prefix{
    min-width:72px;
    padding-left:20px;
    font-size:16px;
  }

  .mm-phone-field input:not(.mm-otp-input){
    height:100%;
    margin:0;
    padding:0 16px 0 4px;
  }

  .mm-auth-btn{
    min-height:58px;
    padding:14px 18px;
    border-radius:9px;
    font-size:18px;
  }

  .mm-auth-bottom-note{
    margin-top:17px;
    font-size:13px;
  }

  .mm-auth-message{
    width:100%;
    margin:16px auto 0;
    font-size:13px;
  }
}

@media (min-width:760px){
  .mm-auth-wrap{
    padding:28px;
    background-color:#f3f4f6;
  }

  .mm-auth-card{
    min-height:0;
    overflow:visible;
    border-radius:20px;
    box-shadow:0 18px 60px rgba(24,32,45,.13);
  }

  .mm-auth-close{
    position:fixed;
    top:24px;
    right:24px;
    z-index:10;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.94);
    color:#242b35;
    font-size:27px;
    line-height:1;
    text-decoration:none;
    box-shadow:0 6px 20px rgba(0,0,0,.12);
  }
}

@media (prefers-reduced-motion:reduce){
  .mm-auth-pane.is-active,
  .mm-inline-otp.is-open{
    animation:none!important;
  }
}
