.two-factor .back-link {
  display: block;
  margin-bottom: 20px;
}

.two-factor .card {
  font-family: Inter, sans-serif;
}

.two-factor h2 {
  font-size: 16px;
  margin-top: 40px;
}

.two-factor h2:first-of-type {
  margin-top: 0;
}

.two-factor input[type="radio"] + label {
  display: inline-flex;
  margin-right: 10px;
}

.two-factor input[type="number"],
.two-factor input[type="password"],
.two-factor input[type="email"],
.two-factor input[type="text"] {
  border-radius: 20px;
  border: 1px solid var(--darker-green);
  background: none;
  outline: none;
  color: var(--light-cyan);
  padding: 10px 20px;
  width: 10em;
}

.two-factor input[type="number"] {
  appearance: textfield;
}

.two-factor label.checkbox {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.two-factor .actions {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
}

.two-factor .actions .nav {
  display: flex;
  gap: 15px;
}

.two-factor .methods {
  margin-top: 30px;
  margin-bottom: 40px;
}

.two-factor img.qrcode {
  background-color: var(--light-cyan);
}

.two-factor .totp-secret {
  display: flex;
  align-items: center;
  gap: 6px;
}

.two-factor .totp-secret input[type="image"] {
  width: 30px;
  height: 30px;
}

.two-factor .totp-secret a {
  word-break: break-word;
}

.two-factor .error {
  color: var(--red);
}

@media (max-width: 360px) {
  .two-factor .actions {
    gap: 20px;
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

@media (max-width: 540px) or ((min-width: 701px) and (max-width: 950px)) {
  .two-factor .methods {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }
}

@media (min-width: 701px) {
  .two-factor h2 {
    font-size: 24px;
  }
}
