.otpv-verifier {
  width: min(720px, 100%);
  margin: 0 auto;
}

.otpv-form {
  padding: clamp(22px, 4vw, 34px);
  color: #172026;
  background: #ffffff;
  border: 1px solid #d9e1e7;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 32, 38, 0.08);
}

.otpv-form__head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.otpv-form__head p {
  margin: 8px 0 22px;
  color: #5d6975;
}

.otpv-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.otpv-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.otpv-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: #172026;
  background: #ffffff;
  border: 1px solid #b9c6cf;
  border-radius: 6px;
  font: inherit;
}

.otpv-input:focus {
  border-color: #0f766e;
  outline: 3px solid rgba(15, 118, 110, 0.18);
}

.otpv-button {
  min-height: 48px;
  padding: 0 18px;
  color: #ffffff;
  background: #0f766e;
  border: 1px solid #0f766e;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.otpv-button:hover,
.otpv-button:focus {
  background: #0b5f59;
  border-color: #0b5f59;
}

.otpv-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.otpv-result {
  min-height: 48px;
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.otpv-result:empty {
  display: none;
}

.otpv-result--original {
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #86efac;
}

.otpv-result--already {
  color: #8a4b00;
  background: #fff4d6;
  border: 1px solid #f8cf70;
}

.otpv-result--invalid,
.otpv-result--rate_limited {
  color: #9f1239;
  background: #ffe4e6;
  border: 1px solid #fda4af;
}

@media (max-width: 620px) {
  .otpv-row {
    grid-template-columns: 1fr;
  }

  .otpv-button {
    width: 100%;
  }
}
