.portal-password-field{position:relative}
.login-card-modern .portal-password-field .eh-input{padding-right:54px}
.portal-password-toggle{position:absolute;right:4px;top:2px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:var(--eh-text-secondary);cursor:pointer}
.portal-password-toggle[hidden]{display:none}
.portal-password-toggle:hover{color:var(--eh-primary);background:var(--eh-primary-light)}
.portal-password-toggle:focus-visible{outline:2px solid var(--eh-primary);outline-offset:1px}
.portal-password-toggle .material-symbols-rounded{font-family:'Material Symbols Rounded';font-weight:400;font-style:normal;font-size:22px;line-height:1;font-feature-settings:'liga'}
/* ===== LOGIN PAGE MODERN LAYOUT ===== */
    .login-page-wrapper {
      display: flex;
      min-height: 100vh;
      background: var(--eh-bg);
    }

    /* Left side - Branding/Hero */
    .login-branding {
      flex: 1.2;
      background: linear-gradient(135deg, #0B1F4D 0%, #12306F 50%, #165DFF 100%);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 60px 40px;
      position: relative;
      overflow: hidden;
    }

    .login-branding::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
                  radial-gradient(circle at 70% 80%, rgba(22,93,255,0.15) 0%, transparent 40%);
      pointer-events: none;
    }

    .login-branding .brand-content {
      position: relative;
      z-index: 1;
      text-align: center;
      max-width: 480px;
    }

    .login-branding .brand-icon {
      font-size: 72px;
      color: #fff;
      margin-bottom: 24px;
      display: inline-block;
      background: rgba(255,255,255,0.1);
      padding: 20px;
      border-radius: 24px;
      backdrop-filter: blur(10px);
    }

    .login-branding h1 {
      font-size: 2.8rem;
      font-weight: 800;
      color: #fff;
      margin-bottom: 16px;
      letter-spacing: -0.02em;
    }

    .login-branding .brand-subtitle {
      font-size: 1.15rem;
      color: rgba(255,255,255,0.75);
      line-height: 1.6;
      margin-bottom: 40px;
    }

    .login-branding .brand-features {
      display: flex;
      flex-direction: column;
      gap: 16px;
      text-align: left;
      max-width: 340px;
      margin: 0 auto;
    }

    .login-branding .brand-feature {
      display: flex;
      align-items: center;
      gap: 14px;
      color: rgba(255,255,255,0.85);
      font-size: 0.95rem;
      font-weight: 500;
    }

    .login-branding .brand-feature .feature-icon {
      width: 36px;
      height: 36px;
      background: rgba(255,255,255,0.1);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    /* Right side - Login Form */
    .login-form-side {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 40px;
      background: var(--eh-bg);
    }

    .login-card-modern {
      width: 100%;
      max-width: 420px;
      background: var(--eh-surface);
      border-radius: var(--eh-radius-xl);
      box-shadow: var(--eh-shadow-xl);
      padding: 44px 40px 36px;
      border: 1px solid var(--eh-border);
    }

    .login-card-modern .login-header {
      text-align: center;
      margin-bottom: 32px;
    }

    .login-card-modern .login-header .header-icon {
      width: 56px;
      height: 56px;
      background: var(--eh-primary-light);
      border-radius: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
    }

    .login-card-modern .login-header .header-icon .material-symbols-rounded {
      font-size: 28px;
      color: var(--eh-primary);
    }

    .login-card-modern .login-header h3 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--eh-text-primary);
      margin-bottom: 4px;
    }

    .login-card-modern .login-header p {
      color: var(--eh-text-secondary);
      font-size: var(--eh-font-size-base);
      margin: 0;
    }

    .login-card-modern .eh-form-group {
      margin-bottom: 20px;
    }

    .login-card-modern .eh-form-label {
      font-size: var(--eh-font-size-sm);
      font-weight: 600;
      color: var(--eh-text-primary);
      margin-bottom: 6px;
      display: block;
    }

    .login-card-modern .eh-input {
      width: 100%;
      height: 48px;
      padding: 0 16px;
      font-family: var(--eh-font-family);
      font-size: var(--eh-font-size-base);
      color: var(--eh-text-primary);
      background: var(--eh-surface-secondary);
      border: 1.5px solid var(--eh-input-border);
      border-radius: var(--eh-input-radius);
      transition: var(--eh-transition);
      outline: none;
    }

    .login-card-modern .eh-input:focus {
      border-color: var(--eh-input-focus);
      background: var(--eh-surface);
      box-shadow: 0 0 0 3px rgba(22,93,255,0.1);
    }

    .login-card-modern .eh-input::placeholder {
      color: var(--eh-input-placeholder);
    }

    .login-card-modern .eh-input:hover:not(:focus) {
      border-color: #C8D4E8;
    }

    .login-card-modern .form-options {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }

    .login-card-modern .eh-check {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      font-size: var(--eh-font-size-base);
      color: var(--eh-text-primary);
      margin: 0;
    }

    .login-card-modern .eh-check input[type="checkbox"] {
      width: 18px;
      height: 18px;
      accent-color: var(--eh-primary);
      cursor: pointer;
    }

    .login-card-modern .forgot-link {
      color: var(--eh-primary);
      font-weight: 600;
      font-size: var(--eh-font-size-sm);
      text-decoration: none;
      transition: var(--eh-transition);
    }

    .login-card-modern .forgot-link:hover {
      color: var(--eh-primary-hover);
      text-decoration: underline;
    }

    .login-card-modern .btn-login {
      width: 100%;
      height: 48px;
      background: var(--eh-primary);
      color: #fff;
      border: none;
      border-radius: var(--eh-btn-radius);
      font-family: var(--eh-font-family);
      font-size: var(--eh-font-size-lg);
      font-weight: 600;
      cursor: pointer;
      transition: var(--eh-transition);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .login-card-modern .btn-login:hover {
      background: var(--eh-primary-hover);
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(22,93,255,0.35);
    }

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

    .login-card-modern .signup-link {
      text-align: center;
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid var(--eh-divider);
    }

    .login-card-modern .signup-link p {
      color: var(--eh-text-secondary);
      font-size: var(--eh-font-size-base);
      margin: 0;
    }

    .login-card-modern .signup-link a {
      color: var(--eh-primary);
      font-weight: 600;
      text-decoration: none;
    }

    .login-card-modern .signup-link a:hover {
      text-decoration: underline;
    }

    /* Alert messages */
    .login-card-modern .alert-custom {
      padding: 12px 16px;
      border-radius: var(--eh-radius-md);
      border: none;
      font-size: var(--eh-font-size-sm);
      font-weight: 500;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .login-card-modern .alert-custom.alert-danger {
      background: var(--eh-danger-light);
      color: #B91C1C;
    }

    .login-card-modern .alert-custom.alert-success {
      background: var(--eh-success-light);
      color: #15803D;
    }

    .login-card-modern .alert-custom .alert-icon {
      font-size: 20px;
      flex-shrink: 0;
    }

    /* Recovery email section */
    .login-card-modern .recovery-section {
      margin-top: 20px;
      padding: 20px;
      background: var(--eh-surface-secondary);
      border-radius: var(--eh-radius-md);
      border: 1px solid var(--eh-border);
    }

    .login-card-modern .recovery-section p {
      font-size: var(--eh-font-size-sm);
      color: var(--eh-text-secondary);
      margin-bottom: 12px;
    }

    /* Responsive */
    @media (max-width: 991.98px) {
      .login-branding {
        display: none;
      }
      .login-form-side {
        flex: 1;
        padding: 24px;
      }
      .login-card-modern {
        padding: 32px 28px;
        box-shadow: none;
        border: none;
      }
    }

    @media (max-width: 575.98px) {
      .login-form-side {
        padding: 16px;
      }
      .login-card-modern {
        padding: 24px 20px;
      }
      .login-card-modern .login-header h3 {
        font-size: 1.3rem;
      }
    }
