/*
 * Visual polish layer on top of Filament's own stock theme (owner: "sembra
 * anni 90", 2026-07-13) — loaded after Filament's compiled CSS via a render
 * hook in AdminPanelProvider, so these rules win on equal specificity without
 * needing a Tailwind build step (this app has none for the admin panel, and
 * deliberately doesn't add one just for this). Targets Filament's own stable
 * `fi-*` component classes only — never a page's own custom classes (Calendar,
 * Verifica disponibilità, ...), which already have their own hand-written CSS.
 * Softer shadows/radius/hover motion instead of flat boxes and hard borders;
 * no color palette changes (Amber/Slate stay as already chosen).
 */

.fi-ta-ctn {
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.fi-ta-row {
    transition: background-color 120ms ease-in-out;
}

.fi-ta-header-cell {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.fi-section {
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.fi-tabs {
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 0.75rem;
}

.fi-tabs-item {
    border-radius: 0.5rem;
    transition: background-color 120ms ease-in-out, color 120ms ease-in-out;
}

.fi-btn {
    transition: transform 120ms ease-in-out, box-shadow 120ms ease-in-out, background-color 120ms ease-in-out;
}

.fi-btn:not(:disabled):hover {
    transform: translateY(-1px);
}

.fi-badge {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.fi-dropdown-panel,
.fi-modal-window {
    border-radius: 0.875rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.12);
}

.fi-pagination-item {
    transition: background-color 120ms ease-in-out;
}

/* Every custom Filament Page in this app (Calendar, Verifica disponibilità,
 * Report, ...) writes its own small tables/cards in a <style> block — give
 * those the same rounded/elevated treatment via the shared class already
 * used consistently across those views, so the "hand-built" pages match the
 * modernized native Filament tables/sections instead of looking flatter. */
.ov-stat,
.cal-table,
.av-tax-summary {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
}
