.fi-main-sidebar .fi-sidebar-nav-groups {
    row-gap: 0.375rem;
}

.fi-main-sidebar .fi-sidebar-group-btn {
    border-radius: 0.625rem;
    transition: background-color 150ms ease;
}

.fi-main-sidebar .fi-sidebar-group-btn:hover {
    background-color: color-mix(in srgb, var(--color-gray-500) 8%, transparent);
}

.dark .fi-main-sidebar .fi-sidebar-group-btn:hover {
    background-color: color-mix(in srgb, white 6%, transparent);
}

.fi-main-sidebar .fi-sidebar-group-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.72;
}

.fi-main-sidebar .fi-sidebar-group.fi-active > .fi-sidebar-group-btn .fi-sidebar-group-label {
    opacity: 1;
}

.fi-main-sidebar .fi-sidebar-group-items {
    margin-top: 0.125rem;
}

/* ==========================================================================
   PREMIUM LIGHT MODE THEME CUSTOMIZATIONS (LOGO "BƯỚC CHÂN NHỎ" PALETTE)
   ========================================================================== */

/* 1. Sidebar Styles */
html:not(.dark) .fi-sidebar.fi-main-sidebar {
    border-inline-end: 1px solid #fbcfe8 !important; /* Soft pink border */
}

/* Active Sidebar Item */
html:not(.dark) .fi-sidebar-item.fi-active > .fi-sidebar-item-btn {
    background: linear-gradient(90deg, #fdf2f8 0%, #fff1f2 100%) !important;
    color: #e5007d !important;
    position: relative;
    font-weight: 600 !important;
}

html:not(.dark) .fi-sidebar-item.fi-active > .fi-sidebar-item-btn .fi-sidebar-item-icon {
    color: #e5007d !important;
}

html:not(.dark) .fi-sidebar-item.fi-active > .fi-sidebar-item-btn .fi-sidebar-item-label {
    color: #e5007d !important;
    font-weight: 600;
}

/* Brand Accent Bar (Bước - Green, Chân - Pink) */
html:not(.dark) .fi-sidebar-item.fi-active > .fi-sidebar-item-btn::before {
    content: "";
    position: absolute;
    inset-block: 0.25rem;
    inset-inline-start: 0;
    width: 3px;
    background-color: #13a850 !important; /* Green from logo */
    border-radius: 9999px;
}

/* Sidebar Item Hover Transitions */
html:not(.dark) .fi-sidebar-item-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 0.5rem !important;
}

html:not(.dark) .fi-sidebar-item-btn:hover {
    background-color: #fdf2f8 !important;
    color: #e5007d !important;
    transform: translateX(4px) !important;
}

html:not(.dark) .fi-sidebar-item-btn:hover .fi-sidebar-item-icon {
    color: #e5007d !important;
}

html:not(.dark) .fi-sidebar-item-btn:hover .fi-sidebar-item-label {
    color: #e5007d !important;
}

/* 2. Premium Card & Widget Floating Effects */
html:not(.dark) .fi-section,
html:not(.dark) .fi-ta-container,
html:not(.dark) .fi-wi-stats-overview-stat,
html:not(.dark) .fi-wi-widget {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease !important;
}

html:not(.dark) .fi-section:hover,
html:not(.dark) .fi-ta-container:hover,
html:not(.dark) .fi-wi-stats-overview-stat:hover,
html:not(.dark) .fi-wi-widget:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 24px -8px rgba(229, 0, 125, 0.08), 0 4px 12px -4px rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(229, 0, 125, 0.2) !important;
}

/* 3. Primary Button Gradients & Hover Effects */
html:not(.dark) .fi-btn.fi-color-primary,
html:not(.dark) button.fi-btn[type="submit"] {
    background: linear-gradient(135deg, #ec4899 0%, #e5007d 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: 0 4px 10px -2px rgba(229, 0, 125, 0.3) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html:not(.dark) .fi-btn.fi-color-primary:hover,
html:not(.dark) button.fi-btn[type="submit"]:hover {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 14px -2px rgba(229, 0, 125, 0.4) !important;
}

html:not(.dark) .fi-btn.fi-color-primary:active,
html:not(.dark) button.fi-btn[type="submit"]:active {
    transform: translateY(1px) !important;
    box-shadow: 0 2px 6px -2px rgba(229, 0, 125, 0.3) !important;
}

/* 4. Focus Ring Synchronization */
html:not(.dark) .fi-input-wrp:focus-within {
    box-shadow: 0 0 0 2px rgba(229, 0, 125, 0.2) !important;
    border-color: #e5007d !important;
}

html:not(.dark) input:focus,
html:not(.dark) select:focus,
html:not(.dark) textarea:focus {
    border-color: #e5007d !important;
    box-shadow: 0 0 0 2px rgba(229, 0, 125, 0.2) !important;
}
