/* Animations hover subtiles et élégantes pour Filament */

/* Effets pour les widgets de statistiques */
.fi-wi-stats-overview-stat {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid transparent;
}

.fi-wi-stats-overview-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    border-color: rgba(59, 130, 246, 0.1);
}

.dark .fi-wi-stats-overview-stat:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.15);
}

/* Effet de surbrillance très discret */
.fi-wi-stats-overview-stat::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.fi-wi-stats-overview-stat:hover::after {
    opacity: 1;
}

/* Effet hover pour les tables */
.fi-ta-table tbody tr {
    transition: background-color 0.3s ease;
}

.fi-ta-table tbody tr:hover {
    background-color: rgba(59, 130, 246, 0.02);
}

.dark .fi-ta-table tbody tr:hover {
    background-color: rgba(59, 130, 246, 0.03);
}

/* Effet hover pour les sections */
.fi-section {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.fi-section:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dark .fi-section:hover {
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

/* Effet pour les info sections */
.fi-in-section {
    transition: all 0.3s ease;
}

.fi-in-section:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

/* Effet subtil pour les boutons */
.fi-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fi-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Animation légère des icônes */
.fi-icon {
    transition: transform 0.3s ease;
}

.fi-wi-stats-overview-stat:hover .fi-icon,
.fi-section:hover .fi-icon {
    transform: scale(1.05);
}

/* Badges avec transition d'opacité */
.fi-badge {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fi-badge:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Effet pour les cartes dans les vues personnalisées */
.hover-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
}

/* Transitions douces pour les éléments de formulaire */
.fi-fo-field-wrp:hover {
    background-color: rgba(59, 130, 246, 0.01);
    transition: background-color 0.3s ease;
}

/* Effet focus subtil */
.fi-input:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    transition: box-shadow 0.2s ease;
}

/* Animation douce pour les modals */
.fi-modal {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet hover pour les éléments de navigation */
.fi-sidebar-item:hover {
    background-color: rgba(59, 130, 246, 0.05);
    transition: background-color 0.2s ease;
}

.dark .fi-sidebar-item:hover {
    background-color: rgba(59, 130, 246, 0.08);
}