
/* ==========================================================
   USUARIOS: Estética Premium - Fondo Neutro y Orden
   ========================================================== */

/* Forzar fondo blanco/gris claro en el módulo de usuarios */
body.sigecop-page-usuarios-gestion,
body.sigecop-page-usuarios-gestion .fi-layout,
body.sigecop-page-usuarios-gestion .fi-main-ctn,
body.sigecop-page-usuarios-gestion .fi-ta,
body.sigecop-page-usuarios-gestion .fi-ta-ctn,
body.sigecop-page-usuarios-gestion .fi-ta-content {
    background: #f8fafc !important;
    background-image: none !important;
}

/* Ocultar encabezado redundante de Filament */
body.sigecop-page-usuarios-gestion .fi-header {
    display: none !important;
}

/* Reducir espacio superior (Subir la tarjeta) */
body.sigecop-page-usuarios-gestion .fi-main-ctn {
    padding-top: 0 !important;
    gap: 0 !important;
}

/* Ajustar margen de las tarjetas de estadísticas */
body.sigecop-page-usuarios-gestion .fi-wi-stats-overview {
    margin-top: 1.2rem !important;
    margin-bottom: 0.5rem !important;
}

/* Colores en tarjetas de stats para Usuarios (Igualar a Clientes) */
body.sigecop-page-usuarios-gestion .fi-wi-stats-overview-stat[data-sigecop-stat] {
    border: 1px solid rgb(var(--gray-200)) !important;
}

body.sigecop-page-usuarios-gestion .fi-wi-stats-overview-stat[data-sigecop-stat="total"] {
    background: linear-gradient(135deg, rgb(var(--primary-50)), rgb(var(--primary-100))) !important;
    border-color: rgb(var(--primary-200)) !important;
}

body.sigecop-page-usuarios-gestion .fi-wi-stats-overview-stat[data-sigecop-stat="activos"] {
    background: linear-gradient(135deg, rgb(var(--success-50)), rgb(var(--success-100))) !important;
    border-color: rgb(var(--success-200)) !important;
}

body.sigecop-page-usuarios-gestion .fi-wi-stats-overview-stat[data-sigecop-stat="morosos"] {
    background: linear-gradient(135deg, rgb(var(--danger-50)), rgb(var(--danger-100))) !important;
    border-color: rgb(var(--danger-200)) !important;
}

body.sigecop-page-usuarios-gestion .fi-wi-stats-overview-stat[data-sigecop-stat="nuevo"] {
    background: linear-gradient(135deg, rgb(var(--info-50)), rgb(var(--info-100))) !important;
    border-color: rgb(var(--info-200)) !important;
}

/* Compactar tarjetas (antes estaban más pequeñas) */
@media (min-width: 1024px) {
    body.sigecop-page-usuarios-gestion .fi-wi-stats-overview-stat {
        padding: 0.85rem 1rem !important;
    }
    body.sigecop-page-usuarios-gestion .fi-wi-stats-overview-stat-value {
        font-size: 1.6rem !important;
        line-height: 1.8rem !important;
    }
    body.sigecop-page-usuarios-gestion .fi-wi-stats-overview-stats-ctn {
        gap: 0.75rem !important;
    }
}

/* Asegurar que el icono sea visible y tenga el tono adecuado */
body.sigecop-page-usuarios-gestion .fi-wi-stats-overview-stat .fi-wi-stats-overview-stat-icon {
    color: currentColor !important;
    opacity: 0.8;
}

/* Asegurar que la tabla tenga bordes limpios sobre fondo neutro */
body.sigecop-page-usuarios-gestion .fi-ta-ctn {
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.75rem !important;
    overflow: hidden !important;
    background: white !important;
} 
