/*
 * Authentication Pages
 * Sign in, sign up, password reset - layout only
 * Uses existing components: .input, .btn, .link, .text-secondary
 */

.auth-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 60px);
  margin-top: 60px;
  padding: 80px 24px 24px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.auth-field .input {
  width: 100%;
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-primary);
}

.auth-checkbox label {
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.auth-actions {
  margin-top: 8px;
}

.btn-full {
  width: 100%;
  display: flex;
  justify-content: center;
}

.auth-links {
  margin-top: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Error messages */
.auth-card #error_explanation {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
}

.auth-card #error_explanation h2 {
  font-size: 14px;
  font-weight: 600;
  color: #ef4444;
  margin-bottom: 8px;
}

.auth-card #error_explanation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-card #error_explanation li {
  font-size: 12px;
  color: #ef4444;
  padding: 2px 0;
}
