/* Statistiques Component Styles - Based on Figma Design */

.statistiques-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.statistiques-cards {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: oklch(var(--b1));
    border-left: 4px solid oklch(var(--a));
    border-radius: 4px;
    padding: 16px 16px;
    gap: 8px;
    min-height: 0;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.stat-card-clickable {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-left: 4px solid oklch(var(--a));
}

.stat-card.stat-card-clickable:hover {
    border-left-color: var(--accent-highlight) !important;
}

.stat-card.stat-card-clickable:hover .stat-description {
    text-decoration: underline;
}

.stat-number-container {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 34.5px;
    white-space: nowrap;
}

.stat-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: oklch(var(--bc));
    line-height: 120%;
}

.stat-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: oklch(var(--bc));
    line-height: 120%;
}

.stat-description {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    width: 100%;
}

.event-cloud {
    background-color: oklch(var(--b1));
    border-left: 4px solid oklch(var(--a));
    border-radius: 4px;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.event-tag {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    color: oklch(var(--bc));
    white-space: nowrap;
    line-height: 1.2;
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Tailles de police variables pour le nuage de mots */
.event-tag.size-small {
    font-size: 13.139px;
}

.event-tag.size-medium-small {
    font-size: 14.679px;
}

.event-tag.size-medium {
    font-size: 15.495px;
}

.event-tag.size-medium-large {
    font-size: 20.388px;
}

.event-tag.size-large {
    font-size: 22.019px;
}

.event-tag.size-extra-large {
    font-size: 22.408px;
}

.event-tag.size-xxl {
    font-size: 24.465px;
}

.event-tag.size-xxxl {
    font-size: 24.663px;
}

.event-tag.size-huge {
    font-size: 26.096px;
}

.event-tag.size-huge-plus {
    font-size: 28.543px;
}

.event-tag.size-giant {
    font-size: 31.315px;
}

.event-tag.size-giant-plus {
    font-size: 34.114px;
}

.event-tag.size-super-giant {
    font-size: 35.067px;
}

/* Responsive Design */
@media (max-width: 640px) {
    .statistiques-cards {
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 20px;
    }
    
    .stat-description {
        font-size: 16px;
    }
    
    .event-cloud {
        padding: 16px;
        gap: 6px 12px;
    }

    .event-tag {
        font-size: 20px !important;
    }
}

