.active-filter {
    border-color: #0f6cbd !important;
    background-color: #f0f9ff !important; /* light blue bg */
    box-shadow: 0 4px 6px -1px rgba(15, 108, 189, 0.1), 0 2px 4px -1px rgba(15, 108, 189, 0.06);
}

.dark .active-filter {
    border-color: #38bdf8 !important; /* sky-400 */
    background-color: rgba(12, 85, 150, 0.3) !important;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalClose {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.animate-open {
    animation: modalOpen 0.3s ease-out forwards;
}

.animate-close {
    animation: modalClose 0.2s ease-in forwards;
}

/* Animated Gradient Background for Login */
@keyframes gradient-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-animated-gradient {
    background: linear-gradient(-45deg, #0f6cbd, #0ea5e9, #6366f1, #8b5cf6);
    background-size: 400% 400%;
    animation: gradient-bg 15s ease infinite;
}

/* Smooth Modal Transitions */
.modal-enter {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
}
.modal-enter-active {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: opacity 0.4s ease-out, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-exit {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.modal-exit-active {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.3s ease-in, transform 0.3s ease-in;
}