/* ==========================================================================
   Authentication Pages - Login, Register, Password Reset
   ========================================================================== */

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background: var(--color-background);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8);
}

.auth-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.auth-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

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

.auth-form {
  margin-bottom: var(--space-6);
}

.auth-links {
  text-align: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
  font-size: var(--font-size-sm);
}

.auth-links-divider {
  color: var(--color-text-tertiary);
  margin: 0 var(--space-2);
}

/* Override default devise styles */
.auth-container .field {
  margin-bottom: var(--space-4);
}

.auth-container .actions {
  margin-top: var(--space-6);
}

/* Flash messages in auth */
.auth-container .notice {
  background: var(--color-success-bg);
  color: var(--color-success);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  text-align: center;
}

.auth-container .alert {
  background: var(--color-error-bg);
  color: var(--color-error);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  text-align: center;
}
