/* OTP verify surfaces — user / MyAccount profile flows */
.idsa-otp-verify-root {
  max-width: 520px;
  margin: 0 auto;
}
.idsa-otp-verify-root .idsa-card--stack {
  margin-bottom: 14px;
}
.idsa-otp-verify-root h1 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.idsa-otp-verify-root .idsa-otp-verify-lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
}
.idsa-otp-banner {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.idsa-otp-banner--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.idsa-otp-banner--success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.idsa-otp-banner--info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}
.idsa-otp-dev-band {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #78350f;
  font-size: 14px;
}
.idsa-otp-dev-band__code {
  margin-top: 6px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.idsa-otp-channel {
  margin: 0 0 12px;
  font-size: 14px;
  color: #334155;
}
.idsa-otp-channel strong {
  font-weight: 700;
}
.idsa-otp-input__label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}
.idsa-otp-input__boxes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  max-width: 360px;
}
.idsa-otp-input__box {
  width: 100%;
  min-height: 48px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
}
.idsa-otp-input__box:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
  border-color: #2563eb;
}
.idsa-otp-input__secure {
  margin: 10px 0 0;
  font-size: 12px;
  color: #64748b;
}
.idsa-otp-input__help {
  margin: 8px 0 0;
  font-size: 13px;
  color: #64748b;
}
.idsa-otp-verify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.idsa-otp-verify-actions .idsa-btn-primary {
  min-height: 44px;
  min-width: 9.5rem;
}
.idsa-otp-resend {
  margin-top: 10px;
  font-size: 13px;
}
.idsa-otp-resend button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
@media (max-width: 375px) {
  .idsa-otp-input__boxes {
    gap: 6px;
  }
  .idsa-otp-input__box {
    min-height: 44px;
    font-size: 1.1rem;
  }
}
