 :root {
      --primary-dark: #004d26;
      --primary-medium: #00703c;
      --primary-light: #00a651;
      --secondary-color: #003366;
      --error-color: #ff4d4d;
      --text-light: #ffffff;
      --text-dark: #333333;
      --input-bg: rgba(255, 255, 255, 0.15);
      --bg-overlay: rgba(0, 77, 38, 0.85);
    }
    
    * {
      margin: 0;
      padding: 0;
      font-family: 'Inter', sans-serif;
      box-sizing: border-box;
    }
    
    body {
     
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }
    
    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--bg-overlay) 0%, rgba(0, 112, 60, 0.85) 100%);
    }
    
    .login-container {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 450px;
      padding: 2rem;
      margin: 1rem;
    }
    
    .login-box {
      background: linear-gradient(145deg, rgba(0, 80, 40, 0.9) 0%, rgba(0, 112, 60, 0.9) 100%);
      border-radius: 12px;
      padding: 2.5rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
   
    
    .company-name {
      color: var(--text-light);
      font-size: 1.5rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      margin-bottom: 0.25rem;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .login-title {
      color: var(--text-light);
      font-size: 1.75rem;
      font-weight: bold;
      margin-bottom: 2rem;
      text-align: center;
       font-family: 'Inter';
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .form-group {
      margin-bottom: 1.5rem;
      position: relative;
    }
    
    .form-group label {
      display: block;
      color: var(--text-light);
      margin-bottom: 0.5rem;
      font-weight: 500;
      font-size: 0.95rem;
    }
    
    .input-field {
      position: relative;
    }
    
    .input-field i {
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
      color: rgba(255, 255, 255, 0.7);
    }
    
    .form-group input {
      width: 100%;
      padding: 12px 15px 12px 45px;
      background-color: var(--input-bg);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 8px;
      font-size: 1rem;
      color: var(--text-light);
      transition: all 0.3s ease;
    }
    
    .form-group input::placeholder {
      color: rgba(255, 255, 255, 0.6);
    }
    
    .form-group input:focus {
      outline: none;
      border-color: var(--secondary-color);
      background-color: rgba(255, 255, 255, 0.25);
      box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
    }
    
    .error-message {
      color: var(--error-color);
      font-size: 0.85rem;
      margin-top: 0.5rem;
   
    }
     .error-msg {
     color: #fff;
     /* Red color for error */
    background: linear-gradient(to right, var(--primary-light), var(--primary-medium));
     border: 1px solid #e0b4b4;
     padding: 10px;
     border-radius: 5px;
     text-align: center;
     margin-bottom: 15px;
 }

 .login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(to right, var(--primary-light), var(--primary-medium));
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
  background: linear-gradient(to right, #00c896, #007b5e); /* emerald to teal */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}



.login-btn:active {
  transform: translateY(0);
}

    
    .forgot-password {
      text-align: center;
      margin-top: 1.5rem;
    }
    
    .forgot-password a {
      color: var(--text-light);
      text-decoration: none;
      font-size: 0.9rem;
      opacity: 0.8;
      transition: all 0.3s ease;
    }
    
    .forgot-password a:hover {
      opacity: 1;
      text-decoration: underline;
       color: #ffffff;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
      .login-container {
        padding: 1rem;
      }
      
      .login-box {
        padding: 2rem 1.5rem;
      }
      
      .login-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
      }
      
      .company-name {
        font-size: 1.3rem;
      }
    }
    
    @media (max-width: 480px) {
      .form-group input {
        padding: 10px 12px 10px 40px;
      }
      
      .input-field i {
        left: 12px;
        font-size: 0.9rem;
      }
      
      .login-btn {
        padding: 12px;
      }
    }