.otp-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9900;
}
.otp-modal.hideit {
  display: none !important;
}
.otp-modal-content {
  background-color: #fff;
  border-radius: 8px;
  padding: 40px;
  max-width: 500px;
  width: 500px;
  position: relative;
}
@media (max-width: 767px) {
  .otp-modal-content {
    width: 90%;
    padding: 20px 20px;
  }
}
.otp-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
.otp-modal-close svg:not(:root) {
  height: 48px;
  overflow: hidden;
}
.otp-modal-close:hover {
  color: #000;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.otp-modal-body {
  text-align: center;
}
.otp-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.otp-icon svg {
  width: 60px !important;
  height: 60px !important;
}
.otp-text-container {
  margin-bottom: 16px;
}
.otp-modal-title {
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0px;
  font-weight: 500;
  color: #000;
  margin-bottom: 8px;
}
.otp-modal-message {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.25px;
  font-weight: 400;
  color: #000;
  text-align: left;
}
.otp-input-container {
  margin-bottom: 16px;
}
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.otp-input {
  width: 64px;
  height: 64px;
  font-size: 36px;
  font-weight: 500;
  font-style: normal;
  line-height: 43.2px;
  letter-spacing: 0px;
  color: #000;
  text-align: center;
  background: #fff;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
@media (max-width: 767px) {
  .otp-input {
    width: 48px;
    height: 48px;
    font-size: 32px;
    line-height: 38.4px;
  }
}
.otp-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}
.otp-input.error {
  border-color: #C80A33;
}
.otp-error-message {
  font-family: "Helvetica Neue LT Std", Helvetica;
  font-size: 16px;
  font-style: normal;
  line-height: 20px;
  letter-spacing: 0.25px;
  font-weight: 700;
  color: #CF4632;
  text-align: left;
}
.otp-error-message.otp-error {
  color: #CF4632;
  background-color: #fff;
}
.otp-error-message.otp-success {
  background-color: #fff;
}
.otp-error-message.otp-warning {
  background-color: #fff;
}
.otp-modal-cta-wrapper {
  margin-bottom: 8px;
  align-items: center;
  display: flex;
  justify-content: center;
}
.otp-modal-cta {
  width: 100%;
  max-width: 182px;
  min-height: 48px;
  padding: 10px 20px;
  gap: 5px;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.25px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.otp-modal-cta:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.otp-resend-message {
  font-size: 12px;
  color: #666;
  margin: 0 0 8px 0;
}
.otp-resend-link {
  background: none !important;
  border: none !important;
  color: #000;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.25px;
  text-align: center;
  margin-bottom: 8px;
}
.otp-resend-link:hover {
  cursor: pointer;
  background: none !important;
  border: none !important;
  color: #000;
}
.otp-resend-link:disabled {
  color: #5B5B5B;
  cursor: not-allowed;
  background: none;
  border: none;
}
.otp-resend-message {
  font-size: 12px;
  color: #222;
  line-height: 15px;
  letter-spacing: 0.25px;
  text-align: center;
}
.otp-resend-helper-text {
  font-weight: 400;
}
.otp-resend-countdown-prefix {
  font-weight: 700;
}
.otp-resend-countdown {
  font-weight: 700;
}
.otp-modal-success-message {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.25px;
  text-align: center;
  margin-top: 18px;
  color: #000;
}
.otp-modal-success-message span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.otp-modal-success-message .success-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}
