  :root {
      --primary-color: #1a5276;
      --secondary-color: #3498db;
      --accent-color: #2ecc71;
      --light-color: #f8f9fa;
      --dark-color: #2c3e50;
      --text-color: #333;
      --border-color: #ddd;
      --brand-color: #7D2C84;
      --divider-color: #ccc;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
      background: #f5f7fa;
      color: var(--text-color);
      line-height: 1.6;
    }

    .container {
      display: flex;
      min-height: 100vh;
      border-right: none;
    }

    /* ===============================
       BRAND SECTION
    =============================== */
    .brand-wrapper {
      flex: 0 0 50%;
      background: #f7f8fa; /* ✅ white outer shell */
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1cm;
      position: relative;
      border-right: 1px solid var(--divider-color); /* ✅ full-height divider line */
    }

    .brand-panel {
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      position: relative;
      overflow: hidden;
      border-radius: 6px;
    }

    /* Inner faint white border */
    .brand-panel::after {
      content: "";
      position: absolute;
      top: 1cm;
      right: 1cm;
      bottom: 1cm;
      left: 1cm;
      border: 5px solid rgba(255, 255, 255, 0.15);
      border-radius: 3px;
      pointer-events: none;
    }

    .visit-link {
      position: absolute;
      top: 50px;
      left: 55px;
      color: #fff;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      background: rgba(255, 255, 255, 0.1);
      padding: 6px 12px;
      border-radius: 3px;
      transition: background 0.3s ease;
    }

    .visit-link:hover {
      background: rgba(255, 255, 255, 0.25);
    }

    .logo {
      margin-bottom: 2rem;
    }

    .logo h1 {
      font-size: 2.4rem;
      font-weight: 700;
    }

    .logo p {
      font-size: 1.1rem;
      text-decoration: underline;
      opacity: 0.9;
    }

    .brand-content {
      max-width: 90%;
    }

    .features {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
      margin-top: 2rem;
    }

    .feature {
      flex: 1;
      min-width: 150px;
      padding: 1rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 3px;
    }

    .feature i {
      display: block;
      font-size: 1.6rem;
      margin-bottom: 0.5rem;
    }

    /* ===============================
       LOGIN SECTION
    =============================== */
    .login-panel {
      flex: 1;
      background: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 2rem;
    }

    .login-container {
      width: 100%;
      max-width: 400px;
      border: 1px solid var(--brand-color);
      border-radius: 3px;
      padding: 2.5rem;
      box-sizing: border-box;
    }

    .login-header {
      text-align: center;
      margin-bottom: 2rem;
    }

    .login-header h2 {
      color: #fff;
      background: var(--primary-color);
      padding: 0.75rem 1rem;
      margin: 0;
      font-size: 1.5rem;
    }

    .form-group {
      margin-bottom: 1.5rem;
    }

    .form-group label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
      color: var(--dark-color);
    }

    .form-control {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1px solid var(--border-color);
      border-radius: 3px;
      font-size: 1rem;
      transition: border-color 0.3s;
    }

    .form-control:focus {
      border-color: var(--secondary-color);
      box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
      outline: none;
    }

    .password-container {
      position: relative;
    }

    .toggle-password {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
    }

    .remember-forgot {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
    }

    .forgot-password {
      color: var(--secondary-color);
      text-decoration: none;
    }

    .btn {
      display: block;
      width: 100%;
      padding: 0.75rem;
      border: none;
      border-radius: 3px;
      font-weight: 600;
      cursor: pointer;
    }

    .btn-primary {
      background: var(--brand-color);
      color: #fff;
      transition: background 0.3s;
    }

    .btn-primary:hover {
      background: #154360;
    }

    .signup-link {
      text-align: left;
      margin-top: 1.5rem;
    }

    .signup-link a {
      color: var(--secondary-color);
      text-decoration: none;
    }

    .signup-link a:hover {
      text-decoration: underline;
    }

    .app-footer {
      text-align: center;
      font-size: 0.8rem;
      color: #666;
      margin-top: 1.5rem;
    }

    /* ===============================
       RESPONSIVE
    =============================== */
    @media (max-width: 768px) {
      .container {
        flex-direction: column;
      }
      .brand-wrapper {
        flex: 1;
        padding: 0.5cm;
        border-right: none;
        border-bottom: 1px solid var(--divider-color);
      }
      .login-container {
        width: 90%;
        margin-top: 2rem;
      }
    }

    @media (max-width: 480px) {
      .brand-panel {
        padding: 1.5rem;
      }
      .logo h1 {
        font-size: 1.8rem;
      }
      .feature {
        min-width: 100px;
      }
      .remember-forgot {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
      }
    }
    
    /************************Brand Section Responsive**********************************/
    /* ===============================
   RESPONSIVE
=============================== */

/* ✅ Tablet and below (stack layout) */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
    min-height: auto;
  }

  .brand-wrapper {
    flex: none;
    width: 100%;
    padding: 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--divider-color);
  }

  .brand-panel {
    border-radius: 6px;
    min-height: 300px;
  }

  .brand-content {
    max-width: 100%;
    padding: 0 1rem;
  }

  .features {
    gap: 1rem;
  }

  .feature {
    flex: 1 1 45%;
    min-width: 120px;
    padding: 0.75rem;
  }

  .login-panel {
    width: 100%;
    padding: 2rem 1rem;
  }

  .login-container {
    width: 100%;
    max-width: 450px;
  }
}

/* ✅ Mobile and below */
@media (max-width: 600px) {
  .brand-panel {
    padding: 1.25rem;
    text-align: center;
  }

  .brand-panel::after {
    top: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
  }

  .logo h1 {
    font-size: 1.8rem;
  }

  .logo p {
    font-size: 0.95rem;
  }

  .feature {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .visit-link {
    top: 20px;
    left: 20px;
    font-size: 0.85rem;
    padding: 4px 10px;
  }

  .login-container {
    width: 90%;
    padding: 2rem 1.5rem;
  }

  .remember-forgot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ✅ Extra small devices */
@media (max-width: 400px) {
  .logo h1 {
    font-size: 1.5rem;
  }

  .features {
    flex-direction: column;
    gap: 0.75rem;
  }

  .feature {
    padding: 0.5rem;
  }

  .btn {
    font-size: 0.9rem;
  }
}

 /************************************************************************/
  .flag-icon {
  width: 22px;          /* small and subtle */
  height: auto;
  margin-left: 6px;     /* small gap after the text */
  vertical-align: middle; /* aligns nicely with text baseline */
  border-radius: 3px;   /* optional: soft rounded edges */
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1); /* optional tiny shadow for depth */
}
