.privus-otp-modal {
  align-items: center;
  background: rgba(14, 20, 29, 0.58);
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  padding: 20px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999999;
}

.privus-otp-modal.is-open {
  display: flex;
}

.privus-otp-dialog {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  color: #1c2430;
  max-width: 430px;
  padding: 30px;
  position: relative;
  width: min(100%, 430px);
}

.privus-otp-dialog h2 {
  color: #1c2430;
  font-size: 26px;
  line-height: 1.2;
  margin: 0 36px 8px 0;
}

.privus-otp-copy {
  color: #596270;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 22px;
}

.privus-otp-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #5d6674;
  cursor: pointer;
  display: flex;
  font-size: 22px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
}

.privus-otp-form {
  display: grid;
  gap: 14px;
}

.privus-otp-form[hidden] {
  display: none;
}

.privus-otp-form label {
  color: #253041;
  display: grid;
  font-size: 14px;
  font-weight: 600;
  gap: 7px;
}

.privus-otp-form input {
  border: 1px solid #cfd6df;
  border-radius: 6px;
  color: #1c2430;
  font-size: 16px;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.privus-otp-form input:focus {
  border-color: #1b4f72;
  box-shadow: 0 0 0 3px rgba(27, 79, 114, 0.14);
  outline: none;
}

.privus-otp-form button[type="submit"] {
  background: #1b4f72;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  min-height: 46px;
  padding: 11px 16px;
}

.privus-otp-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
}

.privus-otp-back {
  background: transparent;
  border: 0;
  color: #1b4f72;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 0;
  text-align: left;
}

.privus-otp-message {
  color: #2d5f3c;
  font-size: 14px;
  line-height: 1.45;
  margin: 14px 0 0;
  min-height: 20px;
}

.privus-otp-message.is-error {
  color: #b42318;
}

@media (max-width: 520px) {
  .privus-otp-dialog {
    padding: 24px;
  }

  .privus-otp-dialog h2 {
    font-size: 23px;
  }
}
