/* Styles pour le tableau de bord statistique sur la page d'accueil */

/* Styles pour le conteneur de statistiques */
.dashboard-stats-overview {
    transition: all 0.3s ease;
}

.dashboard-stats-overview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Styles pour les cartes de statistiques */
.stat-overview-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-overview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Titre des statistiques */
.stat-title {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

/* Valeur principale */
.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #343a40;
    line-height: 1;
}

/* Détails des statistiques */
.stat-details {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.35rem;
}

/* Icônes */
.stat-overview-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Couleurs pour les icônes */
.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.15);
    color: #0d6efd;
}

.bg-success-soft {
    background-color: rgba(25, 135, 84, 0.15);
    color: #198754;
}

.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.bg-info-soft {
    background-color: rgba(13, 202, 240, 0.15);
    color: #0dcaf0;
}

/* Barre de progression */
.progress {
    height: 6px;
    border-radius: 3px;
    background-color: #e9ecef;
    margin-top: 0.75rem;
}

.progress-bar {
    border-radius: 3px;
}

/* Animation d'entrée */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.dashboard-stats-overview {
    animation: fadeIn 0.6s ease-in-out;
}

/* Responsive design */
@media (max-width: 992px) {
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-overview-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .stat-overview-card {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-details {
        font-size: 0.75rem;
    }
    
    .stat-overview-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}