/* ========================================================= */
/* 3. INTERIOR DEL PANEL (DASHBOARD PREMIUM)                 */
/* ========================================================= */

/* Fondo general suave para contrastar con las tarjetas blancas */
body {
    background-color: #f8fafc !important; 
}

/* Barra superior translúcida (Glassmorphism) */
.fi-topbar {
    background-color: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
}

/* Barra lateral más limpia y sin bordes rígidos */
.fi-sidebar {
    background-color: #ffffff !important;
    border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 4px 0 24px -10px rgba(0, 0, 0, 0.03) !important;
}

/* Animación sutil en los enlaces del menú al pasar el mouse */
.fi-sidebar-item-button {
    transition: all 0.2s ease !important;
    border-radius: 0.75rem !important;
}
.fi-sidebar-item-button:hover {
    transform: translateX(4px);
    background-color: #fffbeb !important; /* Ámbar muy claro */
}

/* Tarjetas y Widgets del Dashboard */
.fi-wi-widget, .fi-ta-record, .fi-section {
    background-color: #ffffff !important;
    border-radius: 1.5rem !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -4px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Tablas más limpias (Quitar bordes interiores pesados) */
.fi-ta-table {
    border-radius: 1rem !important;
    overflow: hidden !important;
}
.fi-ta-header-cell {
    background-color: #f8fafc !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem !important;
}
/* Eleva la barra superior sin romper el cálculo de coordenadas de Filament */
.fi-topbar {
    z-index: 60 !important;
}