* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .login-wrapper {
    display: flex;
    min-height: 100vh;
  }
  
  .left-panel {
    flex: 7;
    background: url('/assets/img/index-wallpaper.png') center/cover no-repeat;
  }
  
  .right-panel {
    flex: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #ffffff;
  }
  
  .login-form {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
  }
  
  .logo {
    width: 160px;
    margin: 0 auto 1rem;
    display: block;
  }
  
  .form-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.2rem;
    color: #002255;
  }
  
  .form-subtitle {
    font-size: 0.95rem;
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
  }
  
  .input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    margin-bottom: 1.2rem;
    background: #fff;
  }
  
  .input-group svg {
    flex: 0 0 20px;
    height: 20px;
    margin-right: 10px;
    fill: #666;
  }
  
  .input-group input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
  }
  
  .toggle-password {
    flex: 0 0 20px;
    cursor: pointer;
  }
  
  .login-btn {
    background-color: #2d4d9c;
    color: #fff;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .login-btn:hover {
    background-color: #1c346e;
  }
  
  .form-footer {
    display: flex;
    justify-content: flex-end;
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .forgot-password {
    text-decoration: none;
    color: #2d4d9c;
  }
  
  .error-message {
    color: red;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .popup-error {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f44336;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 0.95rem;
    z-index: 9999;
    animation: fadeOut 4s ease-in-out forwards;
  }
  
  @keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; top: 0; }
  }
  
  @media screen and (max-width: 768px) {
    .login-wrapper {
      flex-direction: column;
    }
  
    .left-panel {
      display: none;
    }
  
    .right-panel {
      flex: 1;
      background: url('/assets/img/index-wallpaper.png') center/cover no-repeat;
      backdrop-filter: blur(4px);
      padding: 1rem;
    }
  
    .login-form {
      background: rgba(255, 255, 255, 0.95);
      padding: 2rem;
      border-radius: 12px;
      margin-top: 2rem;
    }
  }
  