/* accounts.css - Updated version that works with home.css */

/* Login/Register Form Container */
.auth-form-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    margin: 2rem auto;
    text-align: center;
    border-top: 3px solid #cc630d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .auth-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  .auth-form-container h2 {
    color: #292a2b;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
  }
  
  /* Form elements */
  .auth-form {
    width: 100%;
  }
  
  .form-group {
    margin-bottom: 1.2rem;
    text-align: left;
  }
  
  .auth-form input[type="text"],
  .auth-form input[type="email"],
  .auth-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8f9fa;
  }
  
  .auth-form input[type="text"]:focus,
  .auth-form input[type="email"]:focus,
  .auth-form input[type="password"]:focus {
    border-color: #cc630d;
    box-shadow: 0 0 0 2px rgba(204, 99, 13, 0.2);
    outline: none;
  }
  
  .auth-form input[type="submit"] {
    width: 100%;
    background-color: #cc630d;
    color: white;
    padding: 12px;
    margin: 15px 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .auth-form input[type="submit"]:hover {
    background-color: #ff7300;
    transform: translateY(-2px);
  }
  
  /* Messages styling */
  .messages {
    margin: 1.2rem 0;
    border-radius: 6px;
    overflow: hidden;
  }
  
  .messages p {
    margin: 0;
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .messages .success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
  }
  
  .messages .error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
  }
  
  .messages .info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
  }
  
  .messages .warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
  }
  
  /* Links in form */
  .auth-links {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #555;
  }
  
  .auth-links a {
    color: #cc630d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .auth-links a:hover {
    color: #ff7300;
    text-decoration: underline;
  }
  
  /* Animation for form appearance */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .auth-form-container {
    animation: fadeIn 0.6s ease-out forwards;
  }