/* Authentication pages */

.auth {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  width: 100%;
}

.auth__title {
  font-size: 1.75rem;
  font-weight: var(--font-weight-semibold);
  text-align: center;
  margin: 0 0 1.5rem 0;
  color: var(--color-text);
}

.auth__description {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

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

.auth__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auth__field label {
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.auth__field input {
  padding: 0.75rem;
  font-size: 1rem;
  border: 2px solid var(--color-border);
  border-radius: 0.5rem;
  transition: border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;

  &:focus {
    outline: none;
    border-color: var(--color-primary);
  }
}

.auth__links {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.auth__links a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);

  &:hover {
    text-decoration: underline;
  }
}

/* Mobile responsive */
@media (max-width: 480px) {
  .auth {
    margin: 0;
    padding: 1.5rem 1rem;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
}
