/* Base Styles */
:root {
    --primary-color: #e67e22;
    --secondary-color: #2c3e50;
    --accent-color: #16a085;
    --background-color: #f7f7f7;
    --button-color: #e74c3c;
    --text-color: #333;
    --text-light: #fff;
    --input-border: #ddd;
    --input-focus: #e67e22;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
  }
  
  h1, h2, h3 {
    font-family: 'Playfair Display', serif;
  }
  
  /* Loading Animation */
  .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--button-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--secondary-color);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
  }
  
  .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  
  .nav-links a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-decoration: none;
  }
  
  .nav-links a:hover {
    color: var(--primary-color);
  }
  
  .nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }
  
  /* Login Container */
  .login-container {
    display: flex;
    min-height: calc(100vh - 120px);
    padding: 2rem 5%;
  }
  
  .login-card {
    flex: 1;
    max-width: 500px;
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-right: 2rem;
  }
  
  .login-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .login-header h1 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
  }
  
  .login-header p {
    color: #666;
  }
  
  /* Form Styles */
  .login-form {
    margin-top: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
  }
  
  .input-group {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .input-group i {
    position: absolute;
    left: 15px;
    color: #777;
  }
  
  .input-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--input-border);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  .input-group input:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
    outline: none;
  }
  
  .password-toggle {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #777;
  }
  
  /* Form Options */
  .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
  }
  
  .remember-me {
    display: flex;
    align-items: center;
  }
  
  .remember-me input {
    margin-right: 8px;
  }
  
  .forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
  }
  
  .forgot-password:hover {
    text-decoration: underline;
  }
  
  .login-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--button-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .login-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
  }
  
  .register-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
  }
  
  .register-link a {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  .register-link a:hover {
    text-decoration: underline;
  }
  
  /* Social Login */
  .social-login {
    margin-top: 2rem;
    text-align: center;
  }
  
  .social-login p {
    color: #666;
    margin-bottom: 1rem;
    position: relative;
  }
  
  .social-login p::before,
  .social-login p::after {
    content: "";
    position: absolute;
    height: 1px;
    width: 30%;
    background-color: #ddd;
    top: 50%;
  }
  
  .social-login p::before {
    left: 0;
  }
  
  .social-login p::after {
    right: 0;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
  }
  
  .social-icon.google {
    background-color: #DB4437;
  }
  
  .social-icon.facebook {
    background-color: #4267B2;
  }
  
  .social-icon.twitter {
    background-color: #1DA1F2;
  }
  
  .social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Login Image */
  .login-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  
  /* Footer */
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 40px 5%;
    background-color: var(--secondary-color);
    color: var(--text-light);
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding: 0 15px;
  }
  
  .footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
  }
  
  .footer-section p, 
  .footer-section a {
    margin-bottom: 10px;
    display: block;
    color: var(--text-light);
    transition: color 0.3s ease;
    text-decoration: none;
  }
  
  .footer-section a:hover {
    color: var(--primary-color);
  }
  
  .social-icon {
    display: flex !important;
    align-items: center;
    gap: 10px;
  }
  
  .footer-bottom {
    text-align: center;
    padding: 20px;
    background-color: #1a252f;
    color: var(--text-light);
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .login-container {
      flex-direction: column;
    }
    
    .login-card {
      margin-right: 0;
      margin-bottom: 2rem;
      max-width: 100%;
    }
    
    .login-image {
      display: none;
    }
  }
  
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      padding: 1rem;
    }
  
    .logo {
      margin-bottom: 1rem;
    }
  
    .nav-links {
      gap: 1.5rem;
    }
    
    .login-card {
      padding: 1.5rem;
    }
    
    .form-options {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d35400;
}