.registration-otp {
  margin: 12px 0;
  padding: 14px 11px 12px;
  border: 1px solid #85a9d465;
  border-radius: 22px;
  background: color-mix(in srgb, #6996d3 8%, transparent);
  text-align: center;
}
.registration-otp[hidden],.registration-otp [hidden] { display:none!important; }
.registration-otp::before {
  content: ""; display: block; width: 28px; height: 3px; margin: 0 auto 9px;
  border-radius: 4px; background: #7d95b585;
}
.registration-otp h3 { margin: 0 0 5px; font-weight: 700; }
.registration-otp p { margin: 5px 0 9px; }
.registration-otp .registration-code-editor {
  position: relative;
  display: block;
  max-width: 315px;
  margin: 0 auto;
}
.registration-code-editor input[name=registrationCode] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  z-index: 1; color: transparent; caret-color: transparent;
  background: transparent; border: 0; box-shadow: none; outline: none;
}
.registration-code-editor .otp-cells {
  display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 5px; direction: ltr;
}
.registration-code-editor .otp-cells span {
  display: grid; place-items: center; min-width: 0; height: 42px; padding: 0;
  border: 1px solid #86a7ce80; border-radius: 9px; font-size: 17px;
  font-weight: 800; background: color-mix(in srgb, #75a4e2 11%, transparent);
}
.registration-code-editor:focus-within .otp-cells .current { border: 2px solid #407bd0; }
.registration-otp[data-state=error] .otp-cells span { border-color: #b7303a; }
.registration-otp[data-state=ok] { border-color: #15947080; background: #2cbc8230; }
.registration-otp .otp-check {
  display: grid; place-items: center; width: 48px; height: 48px; margin: 12px auto 4px;
  border: 1px solid #1f9873; border-radius: 15px; color: #187c61; font-size: 22px;
  animation: zenix-otp-confirm .24s ease-out;
}
@keyframes zenix-otp-confirm { from { opacity: 0; transform: scale(.75); } }
@media (prefers-reduced-motion:reduce) { .registration-otp .otp-check { animation:none; } }
