/* auth.css - route-specific styles for auth pages */

.auth-page {
  display: flex;
  justify-content: center;
  padding-block: 2rem;
}

.auth-card {
  width: 100%;
  max-width: 520px;
}

.auth-card h1 {
  margin-bottom: 0.5rem;
  color: var(--color-on-surface);
}

.auth-card p {
  margin-bottom: 1rem;
}

.auth-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Ensure labels stack above inputs and inputs take full width */
.auth-card .form label {
  display: block;
  margin-bottom: 0.35rem;
}

.auth-card .form input,
.auth-card .form textarea,
.auth-card .form select {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.75rem;
}

/* small screens - stack actions */
@media (width < 520px) {
  .auth-actions {
    flex-direction: column;
  }
}
