/* Auth pages (Login, Register) – responsive, professional layout */

.auth-page {
  max-width: 420px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 1.5rem);
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-page .auth-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  background: var(--bs-body-bg, #fff);
  padding: clamp(1.5rem, 5vw, 2.25rem);
}

.auth-page .auth-hero {
  margin-bottom: 1.5rem;
}

.auth-page .auth-hero h1 {
  font-size: clamp(1.5rem, 4vw, 1.75rem);
  font-weight: 700;
  margin: 0;
  color: var(--bs-body-color, #1e293b);
}

.auth-page .auth-divider {
  text-align: center;
  margin: 1.25rem 0;
  color: var(--bs-secondary-color, #64748b);
  font-size: 0.875rem;
}

.auth-page .auth-form .form-label {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.auth-page .auth-form .form-control {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.65rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-page .auth-form .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
  outline: none;
}

.auth-page .auth-form .form-check-input {
  border-radius: 4px;
}

.auth-page .auth-form .form-check-label {
  font-size: 0.9rem;
}

.auth-page .auth-form .btn-primary {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  margin-top: 0.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-page .auth-form .btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.auth-page .auth-form .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-page .auth-google-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.auth-page .auth-google-wrap > div {
  min-width: 200px;
}

.auth-page .auth-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.auth-page .auth-footer p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--bs-secondary-color, #64748b);
}

.auth-page .auth-footer a {
  font-weight: 600;
  text-decoration: none;
}

.auth-page .auth-footer a:hover {
  text-decoration: underline;
}

.auth-page .alert {
  border-radius: 10px;
  margin-top: 1rem;
}

.auth-page .text-danger {
  font-size: 0.85rem;
}

.auth-page .validation-message {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.auth-page .mb-3 {
  margin-bottom: 1rem !important;
}

.auth-page .mb-3:last-of-type {
  margin-bottom: 0 !important;
}
