.idt-otp {
  --idt-otp-accent: #451e94;
  --idt-otp-accent-hover: #6642ad;
  --idt-otp-border: #d0d4d9;
  --idt-otp-text: #000814;
  --idt-otp-muted: #757980;
  --idt-otp-error: #fa5050;
  --idt-otp-success: #2e7d32;
  --idt-otp-radius: 10px;

  width: 100%;
  margin: 6px 0 10px;
  font-family: "Poppins", sans-serif;
}

.idt-otp__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.idt-otp__row--verify {
  margin-top: 10px;
}

.idt-otp__label {
  flex: 1 1 100%;
  font-size: 12px;
  color: var(--idt-otp-muted);
  margin: 0 0 2px;
}

.idt-otp__code {
  flex: 1 1 160px;
  min-width: 0;
  height: 44px;
  border-radius: var(--idt-otp-radius) !important;
  border: 1px solid var(--idt-otp-border) !important;
  color: var(--idt-otp-text);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  padding: 8px 14px;
  letter-spacing: 2px;
  outline: 0;
}

.idt-otp__code:disabled {
  background: #f5f5f5;
  color: var(--idt-otp-muted);
  letter-spacing: normal;
}

.idt-otp__btn {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--idt-otp-radius) !important;
  border: 1px solid var(--idt-otp-accent) !important;
  background-color: #fff;
  color: var(--idt-otp-accent);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.idt-otp__btn:hover:not(:disabled) {
  background-color: var(--idt-otp-accent);
  color: #fff;
}

.idt-otp__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.idt-otp__status {
  flex: 1 1 100%;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--idt-otp-success);
  min-height: 1em;
}

.idt-otp__status:empty {
  margin: 0;
}

.idt-otp__status--error {
  color: var(--idt-otp-error);
}

.idt-otp--verified .idt-otp__row--send {
  display: none !important;
}

.idt-otp--verified .idt-otp__row--verify {
  opacity: 0.85;
}

.idt-otp--verified .idt-otp__status {
  font-weight: 500;
}

.idt-otp__hp-label {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.idt-otp-phone--locked {
  background: #f5f5f5 !important;
}

input.idt-otp-locked,
button.idt-otp-locked {
  opacity: 0.55;
  cursor: not-allowed;
}

.idt-otp-admin-warning {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #a00;
  color: #fff;
  font-family: sans-serif;
  font-size: 13px;
  padding: 10px 16px;
  text-align: center;
}

.idt-otp-admin-warning a {
  color: #fff;
  text-decoration: underline;
}
