/*
 * Admin UI density & spacing overrides.
 * Tune the values below to taste; they only affect spacing/typography.
 */

/* --- Denser tables (shorter rows) --- */
.fi-ta-col-wrp {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
}

.fi-ta-header-cell {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}

.fi-ta-cell,
.fi-ta-header-cell {
    font-size: 0.8125rem;
}

/* Tighter header/toolbar of tables */
.fi-ta-header {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* --- Better space usage in the main content area --- */
.fi-main {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

@media (min-width: 1024px) {
    .fi-main {
        padding-inline: 1.5rem !important;
    }
}

/* Reduce the gap between stacked sections/widgets on a page */
.fi-page > .fi-page-content,
.fi-section-content {
    gap: 1rem;
}
