/**
 * Level6 Stats Counter Widget Styles
 */

/* Wrapper */
.l6-stats-wrapper {
    width: 100%;
}

/* Container */
.l6-stats-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

/* Stat Item */
.l6-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Number Wrapper */
.l6-stat-number-wrapper {
    display: flex;
    align-items: baseline;
}

/* Number */
.l6-stat-number {
    font-size: 72px;
    font-weight: 700;
    color: #F25C5C;
    line-height: 1;
    display: flex;
    align-items: baseline;
}

.l6-stat-prefix,
.l6-stat-suffix {
    font-size: 1em;
}

.l6-stat-value {
    font-variant-numeric: tabular-nums;
}

/* Title */
.l6-stat-title {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
    max-width: 180px;
}

/* Divider */
.l6-stat-divider {
    width: 2px;
    height: 80px;
    background-color: #F25C5C;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .l6-stats-container {
        gap: 40px;
    }
    
    .l6-stat-number {
        font-size: 56px;
    }
    
    .l6-stat-title {
        font-size: 18px;
        max-width: 150px;
    }
    
    .l6-stat-divider {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .l6-stats-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .l6-stat-item {
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .l6-stat-number {
        font-size: 48px;
    }
    
    .l6-stat-title {
        font-size: 16px;
        max-width: 100%;
    }
    
    .l6-stat-divider {
        width: 60px;
        height: 2px;
    }
}

/* Animation */
.l6-stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.l6-stats-container.l6-animated .l6-stat-item {
    opacity: 1;
    transform: translateY(0);
}

.l6-stats-container.l6-animated .l6-stat-item:nth-child(1) { transition-delay: 0s; }
.l6-stats-container.l6-animated .l6-stat-item:nth-child(2) { transition-delay: 0.1s; }
.l6-stats-container.l6-animated .l6-stat-item:nth-child(3) { transition-delay: 0.2s; }
.l6-stats-container.l6-animated .l6-stat-item:nth-child(4) { transition-delay: 0.3s; }
.l6-stats-container.l6-animated .l6-stat-item:nth-child(5) { transition-delay: 0.4s; }
.l6-stats-container.l6-animated .l6-stat-item:nth-child(6) { transition-delay: 0.5s; }

.l6-stat-divider {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.l6-stats-container.l6-animated .l6-stat-divider {
    opacity: 1;
}

/* Editor - show items immediately */
.elementor-editor-active .l6-stat-item,
.elementor-editor-active .l6-stat-divider {
    opacity: 1;
    transform: translateY(0);
}
