    .track-overlay {
        position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
        z-index: 999999; opacity: 0; visibility: hidden; transition: all 0.3s ease;
    }
    .track-overlay.active { opacity: 1; visibility: visible; }
    .track-modal {
        position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95);
        z-index: 9999999; width: 420px; max-width: 92vw; max-height: 85vh; overflow-y: auto;
        background: #fff; border-radius: 16px; box-shadow: 0 32px 80px rgba(0,0,0,0.15);
        opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .track-modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
    .track-modal-content { padding: 28px 24px; position: relative; }
    .track-close {
        position: absolute; top: 12px; right: 12px;
        background: none; border: none; font-size: 20px; color: #94a3b8; cursor: pointer;
        transition: all 0.3s ease; width: 32px; height: 32px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
    }
    .track-close:hover { background: rgba(239,68,68,0.08); color: #ef4444; transform: rotate(90deg); }
    .track-title { font-size: 22px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
    .track-title i { color: #4f46e5; }
    .track-subtitle { font-size: 13px; color: #475569; margin-bottom: 16px; }
    .track-input-group { display: flex; gap: 10px; margin-bottom: 12px; }
    .track-input-group input {
        flex: 1; padding: 10px 14px; border: 2px solid #e2e8f0; border-radius: 8px;
        font-size: 13px; font-family: inherit; background: #f8fafc; transition: all 0.3s ease;
    }
    .track-input-group input:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
    .track-input-group button {
        padding: 10px 20px; background: linear-gradient(135deg, #4f46e5, #7c3aed);
        color: #fff; border: none; border-radius: 8px; font-weight: 600; font-size: 13px;
        cursor: pointer; transition: all 0.3s ease; white-space: nowrap;
    }
    .track-input-group button:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 30px rgba(79,70,229,0.25); }
    .track-result { margin-top: 16px; padding: 16px; border-radius: 8px; border: 1px solid #e2e8f0; background: #f8fafc; display: none; }
    .track-result.show { display: block; animation: slideIn 0.3s ease; }
    .track-result .app-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #e2e8f0; }
    .track-result .app-item:last-child { border-bottom: none; }
    .track-result .app-code { font-weight: 600; color: #0f172a; }
    .track-result .app-status { font-size: 11px; font-weight: 600; padding: 2px 12px; border-radius: 50px; }
    .app-status.initiated { background: #dbeafe; color: #1e40af; }
    .app-status.in_progress { background: #fef3c7; color: #92400e; }
    .app-status.pending { background: #fef3c7; color: #92400e; }
    .app-status.approved { background: #d1fae5; color: #065f46; }
    .app-status.completed { background: #d1fae5; color: #065f46; }
    .app-status.rejected { background: #fee2e2; color: #991b1b; }
    .app-status.cancelled { background: #f1f5f9; color: #475569; }
    .track-error { color: #ef4444; font-size: 13px; padding: 10px; text-align: center; }
    .track-empty { color: #94a3b8; font-size: 13px; padding: 20px; text-align: center; }
    .track-loading { text-align: center; padding: 20px; color: #475569; }
    body.dark-mode .track-modal { background: #1a1a2e; }
    body.dark-mode .track-input-group input { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); color: #fff; }
    body.dark-mode .track-input-group input:focus { border-color: #4f46e5; }
    body.dark-mode .track-result { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); }
    body.dark-mode .track-close { color: rgba(255,255,255,0.3); }
    body.dark-mode .track-close:hover { background: rgba(239,68,68,0.1); color: #ef4444; }
    .login-overlay {
        position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
        z-index: 999999; opacity: 0; visibility: hidden; transition: all 0.3s ease;
    }
    .login-overlay.active { opacity: 1; visibility: visible; }
    .login-modal {
        position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95);
        z-index: 9999999; width: 420px; max-width: 92vw; max-height: 90vh; overflow-y: auto;
        background: #fff; border-radius: 16px; box-shadow: 0 32px 80px rgba(0,0,0,0.15);
        opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .login-modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
    .login-modal-content { padding: 32px 28px; position: relative; }
    .login-close {
        position: absolute; top: 12px; right: 12px;
        background: none; border: none; font-size: 20px; color: #94a3b8; cursor: pointer;
        transition: all 0.3s ease; width: 32px; height: 32px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
    }
    .login-close:hover { background: rgba(239,68,68,0.08); color: #ef4444; transform: rotate(90deg); }
    .login-logo { text-align: center; margin-bottom: 20px; }
    .login-logo .logo-icon-main { display: inline-flex; margin-bottom: 4px; }
    .login-logo .logo-brand-main { font-size: 20px; }
    .login-logo .logo-tagline-main { display: block; font-size: 10px; letter-spacing: 2px; }
    .login-title { font-size: 22px; font-weight: 700; text-align: center; margin: 0 0 4px; }
    .login-subtitle { font-size: 13px; color: #475569; text-align: center; margin: 0 0 16px; }
    .login-form { display: flex; flex-direction: column; gap: 14px; }
    .login-field { display: flex; flex-direction: column; gap: 4px; }
    .login-field label { font-size: 12px; font-weight: 500; color: #0f172a; display: flex; align-items: center; gap: 6px; }
    .login-field label i { color: #4f46e5; font-size: 13px; }
    .login-field .required { color: #ef4444; }
    .login-field input {
        width: 100%; padding: 10px 14px; border: 2px solid #e2e8f0; border-radius: 8px;
        font-size: 13px; font-family: inherit; background: #f8fafc; color: #0f172a;
        transition: all 0.3s ease;
    }
    .login-field input:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
    .login-password-wrap { position: relative; }
    .login-password-wrap input { padding-right: 44px; }
    .login-password-toggle {
        position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
        background: none; border: none; color: #94a3b8; cursor: pointer; padding: 4px; font-size: 14px;
        transition: color 0.3s ease;
    }
    .login-password-toggle:hover { color: #4f46e5; }
    .login-hint { font-size: 10px; color: #94a3b8; margin-top: 2px; }
    .login-options { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
    .login-remember { display: flex; align-items: center; gap: 6px; cursor: pointer; color: #475569; }
    .login-remember input[type="checkbox"] { display: none; }
    .login-remember .checkmark {
        width: 16px; height: 16px; border: 2px solid #e2e8f0; border-radius: 4px;
        display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; flex-shrink: 0;
    }
    .login-remember input:checked + .checkmark { background: #4f46e5; border-color: #4f46e5; }
    .login-remember input:checked + .checkmark::after {
        content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #fff; font-size: 10px;
    }
    .login-remember:hover .checkmark { border-color: #4f46e5; }
    .login-forgot { color: #4f46e5; font-weight: 500; transition: color 0.3s ease; }
    .login-forgot:hover { color: #4338ca; text-decoration: underline; }
    .login-btn {
        padding: 12px; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff;
        border: none; border-radius: 8px; font-size: 14px; font-weight: 600;
        cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .login-btn:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 8px 30px rgba(79,70,229,0.3); }
    .login-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none !important; }
    .login-error { background: #fee2e2; color: #991b1b; padding: 8px 12px; border-radius: 8px; font-size: 12px; display: none; }
    .login-error.show { display: block; }
    .login-success { background: #d1fae5; color: #065f46; padding: 8px 12px; border-radius: 8px; font-size: 12px; display: none; }
    .login-success.show { display: block; }
    .login-divider { display: flex; align-items: center; gap: 12px; margin: 4px 0; }
    .login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
    .login-divider span { font-size: 11px; color: #94a3b8; white-space: nowrap; }
    .login-register-btn {
        padding: 10px; background: transparent; color: #475569; border: 2px solid #e2e8f0;
        border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer;
        transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .login-register-btn:hover { border-color: #4f46e5; color: #4f46e5; background: rgba(79,70,229,0.04); }
    .login-terms { font-size: 12px; color: #475569; }
    .login-terms label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
    .login-terms input[type="checkbox"] { display: none; }
    .login-terms .checkmark {
        width: 16px; height: 16px; min-width: 16px; border: 2px solid #e2e8f0; border-radius: 4px;
        display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; margin-top: 1px;
    }
    .login-terms input:checked + .checkmark { background: #4f46e5; border-color: #4f46e5; }
    .login-terms input:checked + .checkmark::after {
        content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #fff; font-size: 10px;
    }
    .login-terms a { color: #4f46e5; }
    .login-terms a:hover { text-decoration: underline; }
    
    body.dark-mode .login-modal { background: #1a1a2e; }
    body.dark-mode .login-field input { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); color: #fff; }
    body.dark-mode .login-field input:focus { border-color: #4f46e5; }
    body.dark-mode .login-divider::before,
    body.dark-mode .login-divider::after { background: rgba(255,255,255,0.06); }
    body.dark-mode .login-register-btn { border-color: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); }
    body.dark-mode .login-register-btn:hover { border-color: #4f46e5; color: #818cf8; }
    body.dark-mode .login-remember { color: rgba(255,255,255,0.5); }
    body.dark-mode .login-remember .checkmark { border-color: rgba(255,255,255,0.1); }
    body.dark-mode .login-close { color: rgba(255,255,255,0.3); }
    body.dark-mode .login-close:hover { background: rgba(239,68,68,0.1); color: #ef4444; }

/* ═══════════════════════════════════════════════════════════
   MOBILE ACCORDION — FINAL CANONICAL OVERRIDE
   (must be last in cascade)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    html body .header-main .nav-main .nav-dropdown-main .nav-dropdown-menu {
        display: block !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.35s ease, padding 0.35s ease !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    html body .header-main .nav-main .nav-dropdown-main.open .nav-dropdown-menu {
        max-height: 1000px !important;
        padding-top: 4px !important;
        padding-bottom: 8px !important;
    }
}

