/**
 * GP Left Menu System – Styles
 * Version: 2.0.0  (UI/UX redesign – world-class professional)
 *
 * DESIGN NOTES
 * ─────────────────────────────────────────────────────────────────
 *  Visual language : modern, minimal, premium SaaS sidebar.
 *  Palette         : deep slate (#0B1220 → #1E293B) with indigo
 *                    accent (#6366F1 / #8B5CF6).
 *  Typography      : Inter / system-ui, tight tracking on labels,
 *                    refined section eyebrows in caps.
 *  States          : pill-shaped active row + 3px gradient accent
 *                    bar, soft hover wash, icon badges glow on
 *                    hover/active.
 *  Class hooks     : UNCHANGED – every existing JS selector still
 *                    works (.gp-left-menu-item, .gp-left-menu-link,
 *                    .gp-left-menu-active, etc.).
 */

/* ================================================================
   0. CSS Variables (theme tokens – tweak once, restyle everywhere)
   ================================================================ */
.gp-left-menu-theme-sidebar,
.gp-left-menu-container {
    --gp-side-bg-1:        #0B1220;
    --gp-side-bg-2:        #111A2E;
    --gp-side-bg-3:        #0F1729;

    --gp-side-text:        rgba(226, 232, 240, 0.92);
    --gp-side-text-mute:   rgba(148, 163, 184, 0.75);
    --gp-side-text-dim:    rgba(148, 163, 184, 0.55);
    --gp-side-text-eyebrow:rgba(148, 163, 184, 0.55);

    --gp-side-border:      rgba(148, 163, 184, 0.10);
    --gp-side-hover-bg:    rgba(255, 255, 255, 0.04);
    --gp-side-active-bg:   linear-gradient(90deg,
                              rgba(99, 102, 241, 0.18) 0%,
                              rgba(139, 92, 246, 0.10) 100%);

    --gp-accent:           #6366F1;
    --gp-accent-2:         #8B5CF6;
    --gp-accent-soft:      rgba(99, 102, 241, 0.18);

    --gp-icon-bg:          rgba(148, 163, 184, 0.12);
    --gp-icon-color:       rgba(226, 232, 240, 0.78);

    --gp-radius:           10px;
    --gp-radius-sm:        8px;

    --gp-ease:             cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ================================================================
   1. Base Container
   ================================================================ */
.gp-left-menu-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                 Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    background: #ffffff;
    min-width: 250px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.005em;
}

.gp-left-menu-loading,
.gp-left-menu-error {
    padding: 28px 20px;
    text-align: center;
    color: var(--gp-side-text-mute);
    font-size: 13px;
}

.gp-left-menu-error {
    color: #f87171;
}

/* ================================================================
   2. Menu list reset
   ================================================================ */
.gp-left-menu-list,
.gp-left-submenu {
    list-style: none !important;
    margin: 0 !important;
    padding: 8px 10px !important;
}
.gp-left-submenu { padding: 4px 0 6px 0 !important; }

.gp-left-menu-item {
    position: relative;
    list-style: none !important;
    padding: 0 !important;
    margin: 2px 0 !important;
    border: none;
}
.gp-left-menu-item::before,
.gp-left-menu-item::after { display: none !important; content: none !important; }

/* ================================================================
   3. Row (link / action / label)
   ================================================================ */
.gp-left-menu-link,
.gp-left-menu-action,
.gp-left-menu-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 10px 10px;
    color: #334155;
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 13px;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: -0.005em;
    cursor: pointer;
    border-radius: var(--gp-radius);
    box-sizing: border-box;
    min-width: 0;
    transition: background-color 0.18s var(--gp-ease),
                color           0.18s var(--gp-ease),
                transform       0.18s var(--gp-ease);
}

.gp-left-menu-link:hover,
.gp-left-menu-action:hover {
    background-color: #F1F5F9;
    color: var(--gp-accent);
    text-decoration: none;
}

.gp-left-menu-label {
    font-weight: 700;
    color: #475569;
    cursor: default;
}

.gp-left-menu-action:active { transform: translateY(0.5px); }

/* ================================================================
   4. Icons (rounded-square badges – world-class SaaS look)
   ================================================================ */
.gp-left-menu-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 12.5px;
    color: #64748B;
    background: #F1F5F9;
    border-radius: var(--gp-radius-sm);
    flex-shrink: 0;
    transition: background 0.2s var(--gp-ease),
                color      0.2s var(--gp-ease),
                box-shadow 0.2s var(--gp-ease);
}

.gp-left-menu-link:hover .gp-left-menu-icon,
.gp-left-menu-action:hover .gp-left-menu-icon {
    background: var(--gp-accent-soft);
    color: var(--gp-accent);
}

/* ================================================================
   5. Text + arrow
   ================================================================ */
.gp-left-menu-text {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gp-left-menu-arrow {
    margin-left: 6px;
    font-size: 9px;
    color: #94A3B8;
    flex-shrink: 0;
    transition: transform 0.25s var(--gp-ease), color 0.2s var(--gp-ease);
}

.gp-left-menu-open > .gp-left-menu-link  .gp-left-menu-arrow,
.gp-left-menu-open > .gp-left-menu-action .gp-left-menu-arrow,
.gp-left-menu-open > .gp-left-menu-label  .gp-left-menu-arrow {
    transform: rotate(180deg);
}

/* ================================================================
   6. Submenu
   ================================================================ */
.gp-left-submenu {
    display: none;
    overflow: hidden;
    margin-top: 2px !important;
    animation: gpSlideDown 0.25s var(--gp-ease);
}
.gp-left-menu-open > .gp-left-submenu { display: block; }

.gp-left-submenu .gp-left-menu-link,
.gp-left-submenu .gp-left-menu-action,
.gp-left-submenu .gp-left-menu-label {
    padding: 8px 12px 8px 44px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
}

/* tiny guide line for nested items */
.gp-left-submenu .gp-left-menu-link::before,
.gp-left-submenu .gp-left-menu-action::before {
    content: '';
    position: absolute;
    left: 26px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.35);
    transform: translateY(-50%);
    transition: background 0.18s var(--gp-ease);
}

.gp-left-submenu .gp-left-submenu .gp-left-menu-link,
.gp-left-submenu .gp-left-submenu .gp-left-menu-action,
.gp-left-submenu .gp-left-submenu .gp-left-menu-label {
    padding-left: 60px;
}

/* ================================================================
   7. Active state (light theme)
   ================================================================ */
.gp-left-menu-active     > .gp-left-menu-link,
.gp-left-menu-active     > .gp-left-menu-action,
.gp-left-menu-item-active > .gp-left-menu-link,
.gp-left-menu-item-active > .gp-left-menu-action {
    background: linear-gradient(90deg, rgba(99,102,241,0.10), rgba(139,92,246,0.04));
    color: var(--gp-accent) !important;
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--gp-accent);
}

/* ================================================================
   8. Separator
   ================================================================ */
.gp-left-menu-separator {
    height: 1px;
    background: #E2E8F0;
    margin: 10px 16px;
    border: none;
}

/* ╔══════════════════════════════════════════════════════════════╗
   ║  THEME: SIDEBAR  (the dark, premium look used by dashboard)  ║
   ╚══════════════════════════════════════════════════════════════╝ */

.gp-left-menu-theme-sidebar {
    /* PROFESSIONAL FLAT — the world-class SaaS standard.
       Linear / Vercel / Stripe / Notion all use a clean flat dark surface.
       The visual interest comes from typography, spacing, and colored
       icons — NOT from background effects. */
    background: linear-gradient(180deg, #0F172A 0%, #0B1120 100%);
    color: var(--gp-side-text);
    min-height: 100vh;
    padding: 4px 0 16px;
    /* Single hairline right border for clean separation. No glow. */
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

.gp-left-menu-theme-sidebar .gp-left-menu-list,
.gp-left-menu-theme-sidebar .gp-left-submenu {
    padding: 8px 6px !important;
}
.gp-left-menu-theme-sidebar .gp-left-submenu { padding: 2px 4px 6px 4px !important; }

.gp-left-menu-theme-sidebar .gp-left-menu-item {
    border: none;
    margin: 2px 0 !important;
}

/* Row */
.gp-left-menu-theme-sidebar .gp-left-menu-link,
.gp-left-menu-theme-sidebar .gp-left-menu-action,
.gp-left-menu-theme-sidebar .gp-left-menu-label {
    color: var(--gp-side-text);
    padding: 9px 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.005em;
    border-radius: var(--gp-radius);
    position: relative;
    overflow: visible; /* allow collapsed-mode tooltip to escape */
}

/* Section labels: pull eyebrows in line with the items above */
.gp-left-menu-theme-sidebar .gp-left-menu-label {
    padding: 16px 10px 6px 10px;
}

/* Hover */
.gp-left-menu-theme-sidebar .gp-left-menu-link:hover,
.gp-left-menu-theme-sidebar .gp-left-menu-action:hover {
    background-color: var(--gp-side-hover-bg);
    color: #ffffff;
    text-decoration: none;
}

/* Active – clean pill with a defined edge (no bleed glow) */
.gp-left-menu-theme-sidebar .gp-left-menu-active     > .gp-left-menu-link,
.gp-left-menu-theme-sidebar .gp-left-menu-active     > .gp-left-menu-action,
.gp-left-menu-theme-sidebar .gp-left-menu-item-active > .gp-left-menu-link,
.gp-left-menu-theme-sidebar .gp-left-menu-item-active > .gp-left-menu-action {
    background: rgba(99, 102, 241, 0.14);
    color: #ffffff !important;
    font-weight: 600;
    box-shadow:
        inset 0 0 0 1px rgba(99, 102, 241, 0.30),
        inset 3px 0 0 0 var(--gp-accent);
}

/* Section eyebrow labels */
.gp-left-menu-theme-sidebar .gp-left-menu-label {
    color: var(--gp-side-text-eyebrow);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    padding: 16px 14px 6px 14px;
    cursor: default;
}

/* Icons – frosted dark badge */
.gp-left-menu-theme-sidebar .gp-left-menu-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    margin-right: 9px;
    background: var(--gp-icon-bg);
    color: var(--gp-icon-color);
    border-radius: var(--gp-radius-sm);
    font-size: 12.5px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.gp-left-menu-theme-sidebar .gp-left-menu-link:hover .gp-left-menu-icon,
.gp-left-menu-theme-sidebar .gp-left-menu-action:hover .gp-left-menu-icon {
    background: rgba(99, 102, 241, 0.22);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.35),
                0 0 0 4px rgba(99, 102, 241, 0.06);
}

.gp-left-menu-theme-sidebar .gp-left-menu-active     > .gp-left-menu-link  .gp-left-menu-icon,
.gp-left-menu-theme-sidebar .gp-left-menu-active     > .gp-left-menu-action .gp-left-menu-icon,
.gp-left-menu-theme-sidebar .gp-left-menu-item-active > .gp-left-menu-link  .gp-left-menu-icon,
.gp-left-menu-theme-sidebar .gp-left-menu-item-active > .gp-left-menu-action .gp-left-menu-icon {
    background: linear-gradient(135deg, var(--gp-accent), var(--gp-accent-2));
    color: #ffffff;
    box-shadow: 0 6px 16px -6px rgba(99, 102, 241, 0.65),
                inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* Arrow */
.gp-left-menu-theme-sidebar .gp-left-menu-arrow {
    color: var(--gp-side-text-dim);
}
.gp-left-menu-theme-sidebar .gp-left-menu-open > .gp-left-menu-link  .gp-left-menu-arrow,
.gp-left-menu-theme-sidebar .gp-left-menu-open > .gp-left-menu-action .gp-left-menu-arrow {
    color: #ffffff;
}

/* Submenu */
.gp-left-menu-theme-sidebar .gp-left-submenu {
    background: rgba(0, 0, 0, 0.18);
    border-radius: var(--gp-radius);
    margin: 4px 6px !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.gp-left-menu-theme-sidebar .gp-left-submenu .gp-left-menu-link,
.gp-left-menu-theme-sidebar .gp-left-submenu .gp-left-menu-action {
    color: var(--gp-side-text-mute);
    font-size: 13px;
    padding: 8px 12px 8px 42px;
    border-radius: 8px;
}

.gp-left-menu-theme-sidebar .gp-left-submenu .gp-left-menu-link::before,
.gp-left-menu-theme-sidebar .gp-left-submenu .gp-left-menu-action::before {
    left: 24px;
    background: rgba(148, 163, 184, 0.45);
}

.gp-left-menu-theme-sidebar .gp-left-submenu .gp-left-menu-link:hover,
.gp-left-menu-theme-sidebar .gp-left-submenu .gp-left-menu-action:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}
.gp-left-menu-theme-sidebar .gp-left-submenu .gp-left-menu-link:hover::before,
.gp-left-menu-theme-sidebar .gp-left-submenu .gp-left-menu-action:hover::before {
    background: var(--gp-accent);
}

.gp-left-menu-theme-sidebar .gp-left-submenu .gp-left-menu-active     > .gp-left-menu-link,
.gp-left-menu-theme-sidebar .gp-left-submenu .gp-left-menu-active     > .gp-left-menu-action,
.gp-left-menu-theme-sidebar .gp-left-submenu .gp-left-menu-item-active > .gp-left-menu-link,
.gp-left-menu-theme-sidebar .gp-left-submenu .gp-left-menu-item-active > .gp-left-menu-action {
    background: linear-gradient(90deg, rgba(99,102,241,0.22), rgba(139,92,246,0.10));
    color: #ffffff !important;
    box-shadow: inset 3px 0 0 0 var(--gp-accent);
}

/* Separator */
.gp-left-menu-theme-sidebar .gp-left-menu-separator {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
    margin: 10px 16px;
    height: 1px;
}

/* Loading / Error */
.gp-left-menu-theme-sidebar .gp-left-menu-loading {
    color: rgba(255, 255, 255, 0.55);
}

/* Scrollbar – slim & refined */
.gp-left-menu-theme-sidebar::-webkit-scrollbar { width: 6px; }
.gp-left-menu-theme-sidebar::-webkit-scrollbar-track { background: transparent; }
.gp-left-menu-theme-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.10);
    border-radius: 999px;
}
.gp-left-menu-theme-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ================================================================
   9. SIDEBAR HEADER (branding block above the menu)
   ================================================================ */

.gp-sidebar-header {
    padding: 24px 20px 18px;
    background: transparent;
}

.gp-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.gp-sidebar-brand-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--gp-accent), var(--gp-accent-2));
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
    box-shadow:
        0 10px 25px -10px rgba(99, 102, 241, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.gp-sidebar-brand-name {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.gp-sidebar-brand-sub {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-top: 3px;
}

.gp-sidebar-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0 0 16px 0;
    padding: 0;
}

.gp-sidebar-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
    border: none;
    margin: 0 14px;
    padding: 0;
}

/* ================================================================
   10. THEME: Compact
   ================================================================ */
.gp-left-menu-theme-compact .gp-left-menu-link,
.gp-left-menu-theme-compact .gp-left-menu-action,
.gp-left-menu-theme-compact .gp-left-menu-label {
    padding: 8px 12px;
    font-size: 13px;
}
.gp-left-menu-theme-compact .gp-left-submenu .gp-left-menu-link,
.gp-left-menu-theme-compact .gp-left-submenu .gp-left-menu-action {
    padding: 7px 12px 7px 36px;
    font-size: 12px;
}

/* ================================================================
   11. Responsive
   ================================================================ */
@media (max-width: 768px) {
    .gp-left-menu-container { min-width: 100%; }
    .gp-left-menu-link,
    .gp-left-menu-action,
    .gp-left-menu-label {
        padding: 12px 14px;
    }
}

/* ================================================================
   12. Animations
   ================================================================ */
@keyframes gpSlideDown {
    from { opacity: 0; max-height: 0;     transform: translateY(-4px); }
    to   { opacity: 1; max-height: 800px; transform: translateY(0);    }
}

.fa-spinner { animation: gpSpin 1s linear infinite; }
@keyframes gpSpin {
    from { transform: rotate(0deg);   }
    to   { transform: rotate(360deg); }
}

/* ================================================================
   12.5  COLORFUL PER-ICON BADGES
   ─────────────────────────────────────────────────────────────────
   Each Font Awesome class gets its own color so the sidebar reads
   as branded and lively. Uses :has() (modern browsers) to tint the
   badge background. The glyph color falls back gracefully on older
   browsers — the badge stays neutral but the glyph still shows.

   ACTIVE rows keep the indigo gradient defined earlier in this file
   (uniform "you are here" indicator overrides the per-icon tint).
   ================================================================ */

/* Light theme — soft pastel chip per icon */
.gp-left-menu-icon:has(.fa-rss)            { background: #FFEDD5; color: #EA580C; }   /* Feed */
.gp-left-menu-icon:has(.fa-sitemap)        { background: #D1FAE5; color: #059669; }   /* Family Tree */
.gp-left-menu-icon:has(.fa-pen-to-square)  { background: #E0E7FF; color: #4F46E5; }   /* Create Content */
.gp-left-menu-icon:has(.fa-inbox)          { background: #E0F2FE; color: #0284C7; }   /* Inbox Outbox */
.gp-left-menu-icon:has(.fa-house-user)     { background: #FEF3C7; color: #D97706; }   /* Family House */
.gp-left-menu-icon:has(.fa-comments)       { background: #EDE9FE; color: #7C3AED; }   /* Chat */
.gp-left-menu-icon:has(.fa-id-card)        { background: #CFFAFE; color: #0891B2; }   /* Profile Dashboard */
.gp-left-menu-icon:has(.fa-heart)          { background: #FFE4E6; color: #E11D48; }   /* Matrimony */
.gp-left-menu-icon:has(.fa-house-flag)     { background: #ECFCCB; color: #65A30D; }   /* Grih Pariwesh */
.gp-left-menu-icon:has(.fa-building)       { background: #CCFBF1; color: #0D9488; }   /* Department Mgmt */
.gp-left-menu-icon:has(.fa-users)          { background: #DBEAFE; color: #2563EB; }   /* User Management */
.gp-left-menu-icon:has(.fa-user-check)     { background: #D1FAE5; color: #059669; }   /* Signup Approval */
.gp-left-menu-icon:has(.fa-circle-check)   { background: #DCFCE7; color: #16A34A; }   /* Business Approval */
.gp-left-menu-icon:has(.fa-comment-dots)   { background: #FAE8FF; color: #C026D3; }   /* Feedback Inbox */
.gp-left-menu-icon:has(.fa-gauge-high)     { background: #E0E7FF; color: #4F46E5; }   /* Dashboard */
.gp-left-menu-icon:has(.fa-user-pen)       { background: #FFEDD5; color: #EA580C; }   /* Update/Delete */
.gp-left-menu-icon:has(.fa-user)           { background: #CFFAFE; color: #0891B2; }   /* Basic */
.gp-left-menu-icon:has(.fa-graduation-cap) { background: #DBEAFE; color: #2563EB; }   /* Education */
.gp-left-menu-icon:has(.fa-briefcase)      { background: #FEF3C7; color: #B45309; }   /* Profession */
.gp-left-menu-icon:has(.fa-trophy)         { background: #FEF9C3; color: #CA8A04; }   /* Achievement */
.gp-left-menu-icon:has(.fa-images)         { background: #FCE7F3; color: #DB2777; }   /* Photo Gallery */
.gp-left-menu-icon:has(.fa-store)          { background: #D1FAE5; color: #047857; }   /* My Business */


/* ──────────────────────────────────────────────────────────────────
   Dark sidebar theme — frosted tinted chip per icon with a bright
   glyph that pops on the deep slate background.
   ────────────────────────────────────────────────────────────────── */

.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-rss)            { background: rgba(249, 115, 22, 0.18); color: #FDBA74; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-sitemap)        { background: rgba(16, 185, 129, 0.18); color: #6EE7B7; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-pen-to-square)  { background: rgba(99, 102, 241, 0.22); color: #A5B4FC; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-inbox)          { background: rgba(14, 165, 233, 0.20); color: #7DD3FC; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-house-user)     { background: rgba(245, 158, 11, 0.20); color: #FCD34D; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-comments)       { background: rgba(139, 92, 246, 0.22); color: #C4B5FD; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-id-card)        { background: rgba(6, 182, 212, 0.20);  color: #67E8F9; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-heart)          { background: rgba(244, 63, 94, 0.20);  color: #FDA4AF; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-house-flag)     { background: rgba(132, 204, 22, 0.20); color: #BEF264; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-building)       { background: rgba(20, 184, 166, 0.20); color: #5EEAD4; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-users)          { background: rgba(59, 130, 246, 0.22); color: #93C5FD; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-user-check)     { background: rgba(16, 185, 129, 0.20); color: #6EE7B7; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-circle-check)   { background: rgba(34, 197, 94, 0.20);  color: #86EFAC; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-comment-dots)   { background: rgba(217, 70, 239, 0.20); color: #F0ABFC; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-gauge-high)     { background: rgba(99, 102, 241, 0.22); color: #A5B4FC; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-user-pen)       { background: rgba(251, 146, 60, 0.22); color: #FDBA74; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-user)           { background: rgba(6, 182, 212, 0.20);  color: #67E8F9; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-graduation-cap) { background: rgba(59, 130, 246, 0.22); color: #93C5FD; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-briefcase)      { background: rgba(245, 158, 11, 0.20); color: #FCD34D; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-trophy)         { background: rgba(234, 179, 8, 0.22);  color: #FDE047; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-images)         { background: rgba(219, 39, 119, 0.20); color: #F9A8D4; }
.gp-left-menu-theme-sidebar .gp-left-menu-icon:has(.fa-store)          { background: rgba(5, 150, 105, 0.22);  color: #6EE7B7; }


/* On hover, brighten the per-icon badge slightly without losing its hue */
.gp-left-menu-theme-sidebar .gp-left-menu-link:hover .gp-left-menu-icon,
.gp-left-menu-theme-sidebar .gp-left-menu-action:hover .gp-left-menu-icon {
    filter: brightness(1.15) saturate(1.1);
}

/* ACTIVE state — keep the uniform indigo→violet gradient so the
   "you are here" indicator stays consistent across the whole sidebar.
   This overrides any per-icon tint above for the active row only. */
.gp-left-menu-theme-sidebar .gp-left-menu-active     > .gp-left-menu-link  .gp-left-menu-icon,
.gp-left-menu-theme-sidebar .gp-left-menu-active     > .gp-left-menu-action .gp-left-menu-icon,
.gp-left-menu-theme-sidebar .gp-left-menu-item-active > .gp-left-menu-link  .gp-left-menu-icon,
.gp-left-menu-theme-sidebar .gp-left-menu-item-active > .gp-left-menu-action .gp-left-menu-icon {
    background: linear-gradient(135deg, var(--gp-accent), var(--gp-accent-2)) !important;
    color: #ffffff !important;
}


/* ================================================================
   13. Base scrollbar (light theme)
   ================================================================ */
.gp-left-menu-container {
    overflow-y: auto;
    max-height: 100vh;
    scrollbar-width: thin;
}
.gp-left-menu-container::-webkit-scrollbar       { width: 6px; }
.gp-left-menu-container::-webkit-scrollbar-track { background: transparent; }
.gp-left-menu-container::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 999px;
}
.gp-left-menu-container::-webkit-scrollbar-thumb:hover { background: #94A3B8; }