.auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

.auth__card {
  max-width: 420px;
  width: 100%;
}

.auth__header h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.auth__header p {
  color: var(--text-muted);
}

.auth__form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth__field label {
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
  display: block;
}

.auth__field input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(4, 6, 30, 0.9);
  color: var(--text-main);
}

.auth__field input:focus {
  outline: none;
  border-color: var(--accent-soft);
}

.auth__field--password {
  position: relative;
}

.auth__password-wrapper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.auth__password-wrapper input {
  flex: 1;
}

.auth__toggle {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(7, 10, 40, 0.95);
  color: var(--text-main);
  font-size: 0.7rem;
  cursor: pointer;
}

.auth__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.auth__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.auth__checkbox input {
  width: 14px;
  height: 14px;
}

.auth__otp {
  padding: 0.7rem;
  border-radius: 12px;
  background: rgba(12, 16, 48, 0.95);
}

.auth__otp input {
  margin-top: 0.3rem;
}

.auth__hint {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.auth__error {
  color: var(--accent-danger);
  font-size: 0.75rem;
}

.auth__strength {
  margin-top: 0.4rem;
}

.auth__strength-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
  margin-bottom: 0.25rem;
}

.auth__strength-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, #ff3366, #ffdd55, #26ffe6);
  transition: width 0.25s ease;
}

.auth__submit {
  width: 100%;
}

.auth__switch {
  font-size: 0.85rem;
  text-align: center;
}

.auth__switch a {
  color: var(--accent-soft);
}

.link {
  background: none;
  border: none;
  color: var(--accent-soft);
  cursor: pointer;
}
