/* Filter indicator styles */
.control-group .filter-active {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--lora-accent);
    color: white;
    border-radius: var(--border-radius-xs);
    padding: 4px 10px;
    transition: var(--transition-base);
    border: 1px solid var(--lora-accent);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    font-size: 0.85em;
}

.control-group .filter-active:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.control-group .filter-active:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.control-group .filter-active i.fa-filter {
    font-size: 0.9em;
    margin-right: 2px;
    opacity: 0.9;
}

.control-group .filter-active i.clear-filter {
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    margin-left: 4px;
    border-radius: 50%;
    font-size: 0.85em;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-group .filter-active i.clear-filter:hover {
    transform: scale(1.2);
    background-color: rgba(255, 255, 255, 0.2);
}

.control-group .filter-active .lora-name {
    font-weight: 500;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Animation for filter indicator */
@keyframes filterPulse {
    0% { transform: scale(1); box-shadow: var(--shadow-sm); }
    50% { transform: scale(1.03); box-shadow: var(--shadow-lg); }
    100% { transform: scale(1); box-shadow: var(--shadow-sm); }
}

.filter-active.animate {
    animation: filterPulse 0.6s ease;
}

/* Make responsive */
@media (max-width: 576px) {
    .control-group .filter-active {
        padding: 6px 10px;
    }
    
    .control-group .filter-active .lora-name {
        max-width: 100px;
    }
    
    .control-group .filter-active:hover {
        transform: none; /* Disable hover effects on mobile */
    }
}