

.elementor-widget-ca_classic_counter_elementor .counter-icon-wrapper svg {
    height: auto;
    max-width: none; /* Remove any max-width restrictions */
}

.elementor-widget-ca_classic_counter_elementor .counter-icon-wrapper i {
    line-height: 1;
    width: auto;
}
/* Text stroke fallback for non-webkit browsers */
.cacc-classic-counter .counter-value,
.cacc-classic-counter .counter-heading {
    text-shadow: 
        /* Simulate text stroke */
        var(--text-stroke-width, 0) 0 var(--text-stroke-color, transparent),
        0 var(--text-stroke-width, 0) var(--text-stroke-color, transparent),
        calc(var(--text-stroke-width, 0) * -1) 0 var(--text-stroke-color, transparent),
        0 calc(var(--text-stroke-width, 0) * -1) var(--text-stroke-color, transparent);
}

/* Webkit browsers will use -webkit-text-stroke */
.cacc-classic-counter .counter-value {
    -webkit-text-fill-color: currentColor;
}

.cacc-classic-counter .counter-heading {
    -webkit-text-fill-color: currentColor;
}
/* Trend arrow styles */
.cacc-trend-arrow {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
}

.cacc-trend-arrow-before {
    margin-right: 8px;
}

.cacc-trend-arrow-after {
    margin-left: 8px;
}

/* Ensure all counter elements align properly */
.counter-value {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.counter-value > * {
    display: inline-flex;
    align-items: center;
}
.cacc-classic-counter {
    display: inline-flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition-property: background, border-color, box-shadow, transform, opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    will-change: transform;
    z-index: 1;
}

.cacc-classic-counter:hover {
    z-index: 2; /* Ensures hover effects appear above other elements */
}
.cacc-digit {
    display: inline-block;
    min-width: 0.6em;
    text-align: center;
    vertical-align: top;
}

/* Flip animation styles */
.cacc-digit {
    perspective: 100px;
}

/* Roll animation styles */
.digit-roll-container {
    display: inline-block;
}




.cacc-trend-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

/* Position classes */
.cacc-trend-arrow-before {
    margin-right: 5px;
    order: -1;
}

.cacc-trend-arrow-after {
    margin-left: 5px;
}

/* Style-specific adjustments */
.cacc-trend-arrow-simple {
    font-weight: bold;
}

.cacc-trend-arrow-caret {
    font-size: 0.9em;
}

.cacc-trend-arrow-triangle {
    font-size: 0.95em;
}

.cacc-trend-arrow-circle {
    font-size: 1.1em;
}

.cacc-trend-arrow-fat {
    font-size: 1.2em;
}

.cacc-trend-arrow-line {
    font-size: 1.05em;
}

.cacc-custom-trend-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Ensure proper alignment with counter numbers */
.counter-value {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}
.cacc-trend-arrow {
    display: inline-block;
    line-height: 1;
    color: var(--arrow-color, inherit);
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--stroke-color, currentColor);
    text-stroke-width: 1px;
    text-stroke-color: var(--stroke-color, currentColor);
    transition: all 0.3s ease;
}

/* Style-specific adjustments */
.cacc-trend-arrow-simple { font-size: 1.2em; }
.cacc-trend-arrow-caret { font-size: 1.3em; }
.cacc-trend-arrow-triangle { font-size: 1.1em; }
.cacc-trend-arrow-circle { font-size: 1.4em; }
.cacc-trend-arrow-fat { font-size: 1.5em; }
.cacc-trend-arrow-line { font-size: 1.25em; }

/* Position classes */
.cacc-trend-arrow-before { margin-right: 0.3em; }
.cacc-trend-arrow-after { margin-left: 0.3em; }



