/* Dense Tables for Filament v4 */

/* Header cell padding */
.fi-ta-header-cell {
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
}

/* Row column components padding */
.fi-ta-text:not(.fi-inline),
.fi-ta-icon:not(.fi-inline),
.fi-ta-image:not(.fi-inline),
.fi-ta-color:not(.fi-inline),
.fi-ta-checkbox:not(.fi-inline),
.fi-ta-toggle:not(.fi-inline),
.fi-ta-select:not(.fi-inline),
.fi-ta-text-input:not(.fi-inline) {
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
}

/* Table cell containing actions padding */
.fi-ta-cell:has(.fi-ta-actions) {
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
}

/* Table cell containing reorder handle padding */
.fi-ta-cell:has(.fi-ta-reorder-handle) {
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
}

/* --- Sidebar Layout Refinements --- */

/* Hide the tenant menu from the sidebar completely since it is now rendered in the topbar */
.fi-sidebar-nav-tenant-menu-ctn {
    display: none !important;
}

/* Move sidebar collapse buttons to the bottom of the sidebar */
.fi-topbar-close-collapse-sidebar-btn {
    position: fixed !important;
    bottom: 1rem !important;
    left: 11.5rem !important; /* Bottom-right of the open sidebar (14rem) */
    z-index: 50 !important;
    background: #f3f4f6 !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    transition: all 0.2s ease !important;
}
.dark .fi-topbar-close-collapse-sidebar-btn {
    background: #374151 !important;
}

.fi-topbar-open-collapse-sidebar-btn {
    position: fixed !important;
    bottom: 1rem !important;
    left: 1.25rem !important; /* Centered in the collapsed sidebar (4.5rem) */
    z-index: 50 !important;
    background: #f3f4f6 !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    transition: all 0.2s ease !important;
}
.dark .fi-topbar-open-collapse-sidebar-btn {
    background: #374151 !important;
}


