/* V55 — progressive Profile access: show one tab and one panel at a time. */
#customer-auth-modal[hidden],
#customer-auth-modal .customer-auth-card [hidden]{
  display:none!important;
}

#customer-auth-modal .customer-auth-card{
  width:min(440px,calc(100vw - 24px))!important;
  max-height:calc(100dvh - 24px)!important;
  padding:22px!important;
  overflow:auto!important;
}
#customer-auth-modal #customer-auth-title{
  margin:4px 34px 18px 0!important;
  font-size:22px!important;
  line-height:1.15!important;
}
#customer-auth-modal .customer-auth-tabs{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0 0 16px!important;
  padding:4px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:14px!important;
  background:rgba(0,0,0,.24)!important;
}
#customer-auth-modal .customer-auth-tabs button{
  min-width:0!important;
  min-height:44px!important;
  padding:9px 8px!important;
  border:0!important;
  border-radius:10px!important;
  color:#e8dff0!important;
  background:transparent!important;
  font-size:14px!important;
  font-weight:800!important;
  cursor:pointer!important;
}
#customer-auth-modal .customer-auth-tabs button.active{
  color:#fff4a3!important;
  background:linear-gradient(145deg,#7622a2,#4b1268)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.16),0 4px 10px rgba(0,0,0,.3)!important;
}
#customer-auth-modal #customer-login-options:not([hidden]),
#customer-auth-modal #customer-signup-form:not([hidden]){
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
}
#customer-auth-modal .customer-auth-intro{
  margin:0 0 2px!important;
  font-size:13px!important;
  line-height:1.45!important;
}
#customer-auth-modal .auth-provider-button{
  min-height:46px!important;
  font-size:14px!important;
  border-radius:11px!important;
}
#customer-auth-modal #customer-phone-login-form{
  display:grid!important;
  gap:10px!important;
}
#customer-auth-modal #customer-phone-login-form label,
#customer-auth-modal #customer-phone-code-form label{
  display:grid!important;
  gap:6px!important;
  font-size:12px!important;
}
#customer-auth-modal #customer-phone-login-form input,
#customer-auth-modal #customer-phone-code-form input{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

@media(max-width:480px){
  #customer-auth-modal{padding:8px!important}
  #customer-auth-modal .customer-auth-card{
    width:calc(100vw - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
    padding:18px!important;
  }
  #customer-auth-modal .customer-auth-tabs button{
    min-height:42px!important;
    font-size:13px!important;
  }
}
