/* Style général pour le plugin */
.wp-statistics-overview {
    font-family: Arial, sans-serif;
    color: #19248d; /* Couleur de texte principale */
    margin: 20px;
}

/* Titre principal */
.wp-statistics-overview h3 {
    color: #ff492b; /* Couleur orange pour le titre */
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Conteneur des statistiques */
.wp-statistics-overview .statistic-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Deux colonnes */
    gap: 25px; /* Espacement entre les cartes */
    margin-top: 20px;
}

/* Style pour chaque statistique */
.wp-statistics-overview .statistic-card {
    background-color: #f4f4f4; /* Couleur de fond des cases */
    border: 3px solid #19248d; /* Bordure bleu foncé */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.4rem;
    height: 200px; /* Hauteur légèrement réduite */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wp-statistics-overview .statistic-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

/* Titre de chaque statistique */
.wp-statistics-overview .statistic-card strong {
    color: #ff492b;
    font-size: 1.8rem;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Valeur de la statistique */
.wp-statistics-overview .statistic-card p {
    font-size: 1.6rem;
    margin: 0;
    color: #19248d;
    font-weight: bold;
}

/* Style pour les messages d'erreur */
.wp-statistics-overview p {
    text-align: center;
    font-size: 1.3rem;
}

.wp-statistics-overview .error {
    color: red;
    font-weight: bold;
}

/* Responsive : Pour les écrans étroits, une colonne */
@media (max-width: 768px) {
    .wp-statistics-overview .statistic-container {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
    }

    .wp-statistics-overview .statistic-card {
        height: auto; /* Ajustement dynamique */
        padding: 20px;
    }
}
