/* Review highlight animation for deep linking */
.review-highlight {
    animation: highlightPulse 2s ease-in-out;
    border-left: 4px solid #4a9eff !important;
}

@keyframes highlightPulse {
    0% {
        background-color: rgba(74, 158, 255, 0);
    }

    20% {
        background-color: rgba(74, 158, 255, 0.2);
    }

    80% {
        background-color: rgba(74, 158, 255, 0.2);
    }

    100% {
        background-color: rgba(74, 158, 255, 0);
    }
}

/* Dark theme support */
body.dark-theme .review-highlight {
    border-left-color: #6bb6ff !important;
}

@media (prefers-color-scheme: dark) {
    body.dark-theme .review-highlight {
        animation: highlightPulseDark 2s ease-in-out;
    }
}

@keyframes highlightPulseDark {
    0% {
        background-color: rgba(107, 182, 255, 0);
    }

    20% {
        background-color: rgba(107, 182, 255, 0.15);
    }

    80% {
        background-color: rgba(107, 182, 255, 0.15);
    }

    100% {
        background-color: rgba(107, 182, 255, 0);
    }
}