.animated-counter-widget {
    text-align: center;
    width: 100%;
    justify-content: center;
}

.animated-counter-widget .counter-wrapper {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

/* Position de l'icône à gauche ou à droite */
.animated-counter-widget[data-icon-position="left"] .counter-wrapper,
.animated-counter-widget[data-icon-position="right"] .counter-wrapper {
    flex-direction: row;
}

/* Espacement de l'icône selon sa position */
.animated-counter-widget[data-icon-position="top"] .counter-icon {
    margin-bottom: 15px;
}

.animated-counter-widget[data-icon-position="left"] .counter-icon {
    margin-right: 15px;
}

.animated-counter-widget[data-icon-position="right"] .counter-icon {
    margin-left: 15px;
}

.animated-counter-widget .counter-title {
    font-size: 18px;
    font-weight: 600;
}

.animated-counter-widget .counter-number {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
}

/* Styles pour les différentes positions du titre */
.animated-counter-widget[data-title-position="left"],
.animated-counter-widget[data-title-position="right"] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-counter-widget .counter-icon {
    margin-bottom: 15px;
}

.animated-counter-widget .counter-icon i,
.animated-counter-widget .counter-icon svg {
    display: inline-block;
    vertical-align: middle;
}

.animated-counter-widget .counter-content {
    width: 100%;
}

.animated-counter-widget .counter-number,
.animated-counter-widget .counter-title {
    width: 100%;
}

/* Ajustement pour les positions gauche/droite du titre */
.animated-counter-widget[data-title-position="left"] .counter-title,
.animated-counter-widget[data-title-position="right"] .counter-title {
    width: auto;
} 