/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a0b14; /* plum-900 */
}

::-webkit-scrollbar-thumb {
    background: #422035; /* plum-700 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8a3b56; /* wine-500 */
}

/* Vue Transition: List (Adding/Removing items) */
.list-enter-active,
.list-leave-active {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-enter-from,
.list-leave-to {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.list-move {
    transition: transform 0.4s ease;
}

/* Vue Transition: Fade (General) */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

/* Smooth focus outline for inputs */
input:focus, select:focus, button:focus {
    outline: none;
}

/* Custom selection color */
::selection {
    background: rgba(138, 59, 86, 0.5); /* wine-500 with opacity */
    color: #fff;
}

/* Priority Badge Styles */
.priority-low {
    color: #9ca3af; /* gray-400 */
    background-color: rgba(156, 163, 175, 0.1);
    border-color: rgba(156, 163, 175, 0.2);
}

.priority-medium {
    color: #fbbf24; /* amber-400 */
    background-color: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.2);
}

.priority-high {
    color: #f87171; /* red-400 */
    background-color: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.2);
}

/* Button Micro-interactions */
button {
    cursor: pointer;
}

/* Custom checkbox animation */
[type="checkbox"]:checked {
    background-color: #8a3b56;
}