/* Auth Generic CSS shared between login and register */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
  background: url('https://images.unsplash.com/photo-1542838132-92c53300491e?q=80&w=2874&auto=format&fit=crop') center/cover no-repeat;
  position: relative;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(45, 106, 79, 0.7);
  backdrop-filter: blur(5px);
}

.auth-container {
  width: 100%;
  max-width: 450px;
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-container h2 {
  text-align: center;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 2rem;
}

.auth-container p.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: #fdfdfd;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.1);
  background: var(--white);
}

.auth-container .btn {
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
  margin-top: 10px;
  border-radius: 8px;
}

.auth-links {
  margin-top: 20px;
  text-align: center;
  font-size: 0.95rem;
}

.auth-links a {
  color: var(--primary-color);
  font-weight: 600;
}
.auth-links a:hover {
  text-decoration: underline;
}
