/**
 * Nexario Solutions Animated Highlighter Styles
 * Creates a pen-swipe effect using a linear-gradient transition.
 * (c)2026 Nexario Solutions - Licensed to National Organization for Victim Assistance
 */

.nexario-animated-highlighter {
    background-image: linear-gradient(120deg, rgba(255, 241, 118, 0.65) 0%, rgba(255, 241, 118, 0.65) 100%);
    background-repeat: no-repeat;
    background-size: 0% 60%;
    background-position: left 90%;
    transition: background-size 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    padding: 0;
    display: inline;
}

.nexario-animated-highlighter.nexario-is-highlighted {
    background-size: 100% 60%;
}

.mce-content-body .nexario-animated-highlighter,
.elementor-editor-active .nexario-animated-highlighter,
.wp-admin .nexario-animated-highlighter,
body.elementor-editor-active span.nexario-animated-highlighter {
    background-size: 100% 60% !important;
    transition: none !important; 
}
}