/* SLAYVIET_AUTH_REGISTRATION_MOBILE_PREMIUM_COMPACT_CLEAN_V4554 */

/* Applied only after JS marks the registration surface. */
.sv-reg-clean-root{
  --sv-reg-gap:14px;
  --sv-reg-radius:18px;
}

/* Top area: keep only what helps the user act. */
.sv-reg-clean-root .sv-reg-hide{
  display:none!important;
}

.sv-reg-clean-root .sv-reg-title{
  margin-top:2px!important;
  margin-bottom:6px!important;
  font-size:clamp(30px,8vw,42px)!important;
  line-height:1.04!important;
  letter-spacing:-.025em!important;
}

.sv-reg-clean-root .sv-reg-main-card{
  padding-top:18px!important;
  padding-bottom:18px!important;
}

/* Main method: less "dashboard", more normal signup form. */
.sv-reg-clean-root .sv-reg-primary-method-label{
  display:none!important;
}

.sv-reg-clean-root input:not([type="checkbox"]):not([type="radio"]){
  min-height:54px!important;
  height:54px!important;
  border-radius:16px!important;
  font-size:16px!important;
}

.sv-reg-clean-root textarea{
  border-radius:16px!important;
}

.sv-reg-clean-root .sv-reg-password-help{
  display:none!important;
}

/* Fix the oversized mobile consent controls from the screenshot. */
.sv-reg-clean-root input[type="checkbox"]{
  width:22px!important;
  min-width:22px!important;
  max-width:22px!important;
  height:22px!important;
  min-height:22px!important;
  max-height:22px!important;
  margin:2px 0 0 0!important;
  padding:0!important;
  flex:0 0 22px!important;
  border-radius:6px!important;
  vertical-align:top!important;
  accent-color:#0aa65b;
}

.sv-reg-clean-root .sv-reg-consent-row{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  align-items:start!important;
  column-gap:11px!important;
  row-gap:0!important;
  width:100%!important;
  min-height:unset!important;
  margin:0!important;
  padding:6px 0!important;
  line-height:1.32!important;
}

.sv-reg-clean-root .sv-reg-consent-row > *{
  min-width:0!important;
}

.sv-reg-clean-root .sv-reg-consent-row label,
.sv-reg-clean-root .sv-reg-consent-row .sv-reg-consent-text{
  margin:0!important;
  font-size:15px!important;
  line-height:1.32!important;
  font-weight:650!important;
}

.sv-reg-clean-root .sv-reg-consents{
  display:grid!important;
  gap:2px!important;
  margin-top:8px!important;
  margin-bottom:12px!important;
}

/* External registration methods. */
.sv-reg-clean-root .sv-reg-other-methods-title{
  margin:18px 0 10px!important;
  font-size:20px!important;
  line-height:1.15!important;
}

.sv-reg-clean-root .sv-reg-other-methods-subtitle{
  display:none!important;
}

/* Remove user-facing implementation/status noise. */
.sv-reg-clean-root .sv-reg-ready-badge,
.sv-reg-clean-root .sv-reg-unavailable-card,
.sv-reg-clean-root .sv-reg-advanced-card{
  display:none!important;
}

.sv-reg-clean-root .sv-reg-provider-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:stretch!important;
}

.sv-reg-clean-root .sv-reg-provider-card{
  min-width:0!important;
  min-height:78px!important;
  height:auto!important;
  padding:10px 8px!important;
  border-radius:17px!important;
  margin:0!important;
}

.sv-reg-clean-root .sv-reg-provider-card .sv-auth-provider-icon,
.sv-reg-clean-root .sv-reg-provider-card svg,
.sv-reg-clean-root .sv-reg-provider-card img{
  flex-shrink:0!important;
}

.sv-reg-clean-root .sv-reg-provider-card .sv-auth-provider-label{
  font-size:14px!important;
  line-height:1.15!important;
  font-weight:800!important;
}

/* Main action should be clearly primary, without huge vertical blocks. */
.sv-reg-clean-root .sv-reg-create-button{
  min-height:54px!important;
  border-radius:17px!important;
  margin-top:6px!important;
}

/* Avoid excessive whitespace around sections. */
.sv-reg-clean-root .sv-reg-section-tight{
  margin-top:12px!important;
  margin-bottom:12px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}

@media(max-width:420px){
  .sv-reg-clean-root .sv-reg-title{
    font-size:34px!important;
  }
  .sv-reg-clean-root .sv-reg-provider-grid{
    gap:8px!important;
  }
  .sv-reg-clean-root .sv-reg-provider-card{
    min-height:72px!important;
    padding:9px 7px!important;
  }
  .sv-reg-clean-root .sv-reg-provider-card .sv-auth-provider-label{
    font-size:13px!important;
  }
}

@media(min-width:768px){
  .sv-reg-clean-root .sv-reg-provider-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
