@import url("./login.css");

.reset-link {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.reset-back-button {
  padding: 0;
  border: none;
  background: transparent;
  color: #dff4e6;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.reset-back-button:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.otp-group {
  margin-top: 12px;
}

.otp-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(36px, 1fr));
  gap: 8px;
}

.otp-input {
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(103, 245, 141, 0.32);
  background: rgba(6, 11, 8, 0.78);
  color: var(--login-text);
  font-size: 18px;
  text-align: center;
  outline: none;
  font-weight: 700;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.otp-input:focus {
  border-color: rgba(103, 245, 141, 0.92);
  background: rgba(9, 17, 13, 0.94);
  box-shadow:
    0 0 0 4px rgba(103, 245, 141, 0.14),
    0 14px 26px rgba(0, 0, 0, 0.18);
}

@media (max-width: 640px) {
  .otp-inputs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
  }

  .otp-input {
    height: 48px;
    font-size: 16px;
  }
}
