.customer-auth--refined {
  --customer-ink: #24113d;
  --customer-muted: #70677a;
  --customer-accent: #b018a8;
  --customer-accent-dark: #65108d;
  --customer-line: #ddd6e4;
  background: #f7f5f9;
}

.customer-auth--refined .customer-auth-stage {
  border-radius: 22px;
  box-shadow: 0 20px 52px rgba(36, 17, 61, .09);
}

.customer-auth--refined .customer-auth-content { padding: 30px 32px 34px; }
.customer-auth--refined .customer-auth-content h1 {
  max-width: 15ch;
  margin: 0 0 10px;
  color: var(--customer-ink);
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.customer-auth--refined .customer-auth-content > p {
  max-width: 38ch;
  margin: 0 0 26px;
  color: var(--customer-muted);
  line-height: 1.55;
}
.customer-auth--refined .customer-auth-route { height: 3px; }
.customer-auth--refined .customer-auth-route i { display: none; }
.customer-auth--refined .customer-auth-primary {
  min-height: 52px;
  border-radius: 13px;
  background: var(--customer-accent);
  box-shadow: none;
  font-weight: 750;
}
.customer-auth--refined .customer-auth-primary:hover { background: var(--customer-accent-dark); }
.customer-auth--refined input,
.customer-auth--refined select,
.customer-auth--refined textarea { border-radius: 12px; }

.customer-auth--web.customer-auth--refined {
  grid-template-columns: minmax(360px, 44%) minmax(480px, 56%);
  padding: 0;
}
.customer-auth--refined .customer-auth-intro {
  min-height: 100dvh;
  padding: clamp(40px, 7vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #35105b;
  color: #fff;
}
.customer-auth--refined .customer-auth-brand { color: #fff; }
.customer-auth--refined .customer-auth-brand small { color: rgba(255,255,255,.68); }
.customer-auth--refined .customer-auth-intro-copy { margin: auto 0; }
.customer-auth--refined .customer-auth-intro-copy h2 {
  max-width: 9ch;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(3.4rem, 5.8vw, 6.8rem);
  line-height: .9;
  letter-spacing: -.07em;
}
.customer-auth--refined .customer-auth-intro-copy p {
  max-width: 29ch;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 1.08rem;
  line-height: 1.55;
}
.customer-auth--refined .customer-auth-availability {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: .86rem;
}
.customer-auth--refined .customer-auth-access {
  min-height: 100dvh;
  padding: clamp(32px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.customer-auth--refined .customer-auth-access > .customer-auth-stage { width: min(100%, 500px); }
.customer-auth--refined .customer-auth-access > .customer-auth-footer { margin-top: 24px; }

.customer-otp-fieldset { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.customer-otp-fieldset legend {
  margin-bottom: 10px;
  color: var(--customer-ink);
  font-size: .86rem;
  font-weight: 750;
}
.customer-otp-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.customer-auth--refined .customer-otp-boxes input {
  width: 100%;
  min-width: 0;
  height: 58px;
  padding: 0;
  border: 1.5px solid var(--customer-line);
  border-radius: 12px;
  background: #fff;
  color: var(--customer-ink);
  font-size: 1.45rem;
  font-weight: 800;
  text-align: center;
  caret-color: var(--customer-accent);
}
.customer-auth--refined .customer-otp-boxes input:focus {
  border-color: var(--customer-accent);
  outline: 3px solid rgba(176,24,168,.12);
}
.customer-verification-state {
  display: none;
  min-height: 34px;
  margin: -8px 0 14px;
  align-items: center;
  gap: 10px;
  color: var(--customer-muted);
  font-size: .9rem;
}
.customer-verification-state.is-working,
.customer-verification-state.is-success { display: flex; }
.customer-verification-ring {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 3px solid rgba(176,24,168,.18);
  border-top-color: var(--customer-accent);
  border-radius: 50%;
  animation: bringall-verify-spin .72s linear infinite;
}
.customer-verification-state.is-success { color: #157a4c; }
.customer-verification-state.is-success .customer-verification-ring {
  border-color: #1d9a62;
  animation: none;
  position: relative;
}
.customer-verification-state.is-success .customer-verification-ring::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 4px;
  left: 5px;
  top: 5px;
  border-left: 2px solid #1d9a62;
  border-bottom: 2px solid #1d9a62;
  transform: rotate(-45deg);
}
.customer-auth-opening { min-height: 130px; display: grid; place-items: center; align-content: center; gap: 14px; }
.customer-auth-opening p { margin: 0; color: var(--customer-muted); }

@keyframes bringall-verify-spin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .customer-auth--web.customer-auth--refined { display: grid; grid-template-columns: 1fr; }
  .customer-auth--refined .customer-auth-intro { display: none; }
  .customer-auth--refined .customer-auth-access {
    min-height: 100dvh;
    padding: calc(var(--bringall-safe-top, 0px) + 18px) 14px calc(var(--bringall-safe-bottom, 0px) + 18px);
  }
  .customer-auth--refined .customer-auth-stage { border-radius: 18px; }
  .customer-auth--refined .customer-auth-content { padding: 26px 22px 30px; }
  .customer-auth--refined .customer-auth-stage > header { padding: 18px 22px 14px; }
  .customer-otp-boxes { gap: 6px; }
  .customer-auth--refined .customer-otp-boxes input { height: 52px; border-radius: 10px; font-size: 1.25rem; }
}

@media (max-width: 360px) {
  .customer-auth--refined .customer-auth-content { padding-inline: 17px; }
  .customer-otp-boxes { gap: 4px; }
  .customer-auth--refined .customer-otp-boxes input { height: 47px; }
}

@media (prefers-reduced-motion: reduce) {
  .customer-verification-ring { animation-duration: 1.5s; }
}
