/* Authentication pages styles */

.auth-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
  color: white;
}

.auth-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.auth-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.auth-form-container {
  width: 100%;
  max-width: 400px;
}

.auth-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.auth-form h2 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
}

.auth-form input:focus {
  border-color: #4CAF50;
  background-color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.auth-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.auth-btn:active {
  transform: translateY(0);
}

.auth-links {
  text-align: center;
  margin-top: 25px;
}

.auth-links p {
  margin: 10px 0;
  color: #666;
}

.auth-links a {
  color: #4CAF50;
  font-weight: 500;
  transition: color 0.3s ease;
}

.auth-links a:hover {
  color: #45a049;
}

/* Password strength indicator */
.password-strength {
  margin-top: 8px;
}

.strength-bar {
  height: 4px;
  background-color: #e1e1e1;
  border-radius: 2px;
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

.strength-text {
  font-size: 12px;
  color: #666;
}

/* CAPTCHA styling */
.captcha-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 25px 0;
}

.h-captcha {
  margin-bottom: 10px;
}

/* Loading states */
.auth-form .loading-message {
  text-align: center;
  margin: 20px 0;
}

/* Error messages in auth forms */
.auth-form .error-message {
  margin: 15px 0;
  text-align: center;
  font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
  .auth-container {
    padding: 15px;
  }
  
  .auth-header h1 {
    font-size: 2rem;
  }
  
  .auth-form {
    padding: 30px 25px;
  }
  
  .auth-form h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .auth-form {
    padding: 25px 20px;
  }
  
  .auth-header h1 {
    font-size: 1.8rem;
  }
}