/**
 * Auto-update styles for task field highlighting
 */

/* Highlight animation for fields that just changed */
.auto-update-highlight {
    animation: autoUpdateHighlight 2.5s ease-out forwards;
}

@keyframes autoUpdateHighlight {
    0% {
        background-color: #fff59d;
        box-shadow: 0 0 8px rgba(255, 235, 0, 0.6);
    }
    50% {
        background-color: #fff9c4;
    }
    100% {
        background-color: transparent;
        box-shadow: none;
    }
}

/* Alternative highlight for inputs and textareas */
input.auto-update-highlight,
textarea.auto-update-highlight,
select.auto-update-highlight {
    border-color: #fbc02d !important;
    animation: autoUpdateHighlightBorder 2.5s ease-out forwards;
}

@keyframes autoUpdateHighlightBorder {
    0% {
        border-color: #fbc02d;
        box-shadow: 0 0 5px rgba(251, 192, 45, 0.8);
    }
    50% {
        border-color: #ffd54f;
        box-shadow: 0 0 3px rgba(255, 213, 79, 0.6);
    }
    100% {
        border-color: inherit;
        box-shadow: none;
    }
}
