/* ==========================================================================
   Global Filament Layout Overrides
   Applied on all admin pages via render hook
   ========================================================================== */

/* Reduce gap between topbar and page content (Filament's py-8 → 1rem) */
.fi-page > section.py-8,
.fi-main section.py-8 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Reduce content area padding */
.fi-layout .fi-main-ctn .md\:px-6 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}
.fi-layout .fi-main-ctn .lg\:px-8 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Tighten the left sidebar */
.fi-layout .fi-sidebar {
    width: 13rem !important;
}
.fi-layout .fi-sidebar .fi-sidebar-nav {
    padding-left: 1.5rem !important;
    padding-right: 0 !important;
}

/* Reduce vertical spacing between sidebar nav groups */
.fi-layout .fi-sidebar .fi-sidebar-group {
    gap: 0 !important;
}
.fi-layout .fi-sidebar .fi-sidebar-group + .fi-sidebar-group {
    margin-top: 0.5rem !important;
}
.fi-layout .fi-sidebar .fi-sidebar-nav > ul {
    gap: 0.5rem !important;
}
