/* Filter Panel Component Styles */
.filter-panel-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Search Container */
.search-container {
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: #a29bfe;
    font-size: 1rem;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #a29bfe;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(162, 155, 254, 0.1);
}

.search-input::placeholder {
    color: #bbb;
}

.clear-search-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #bbb;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.clear-search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Filter Controls */
.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    color: #a29bfe;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-select {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #a29bfe;
    background: rgba(255, 255, 255, 0.15);
}

.filter-select option {
    background: #2c3e50;
    color: #fff;
}

/* Quick Filter Tags */
.quick-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-filter-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #bbb;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-filter-tag:hover {
    background: rgba(162, 155, 254, 0.1);
    border-color: rgba(162, 155, 254, 0.3);
    color: #a29bfe;
    transform: translateY(-1px);
}

.quick-filter-tag.active {
    background: rgba(162, 155, 254, 0.2);
    border-color: rgba(162, 155, 254, 0.5);
    color: #a29bfe;
}

.quick-filter-tag i {
    font-size: 0.7rem;
}

/* Active Filters Display */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(162, 155, 254, 0.05);
    border: 1px solid rgba(162, 155, 254, 0.1);
    border-radius: 8px;
    min-height: 20px;
}

.active-filter-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(162, 155, 254, 0.2);
    border: 1px solid rgba(162, 155, 254, 0.3);
    border-radius: 15px;
    color: #a29bfe;
    font-size: 0.8rem;
    font-weight: 500;
}

.remove-filter-btn {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    padding: 0.1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.7rem;
}

.remove-filter-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ff5252;
}

.clear-all-filters-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 6px;
    color: #ff6b6b;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}

.clear-all-filters-btn:hover {
    background: rgba(255, 107, 107, 0.3);
    border-color: rgba(255, 107, 107, 0.5);
    color: #ff5252;
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-panel-container {
        padding: 1rem;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .quick-filter-tags {
        justify-content: center;
    }
    
    .active-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .clear-all-filters-btn {
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .search-input {
        padding: 0.75rem 1rem 0.75rem 2.25rem;
        font-size: 0.85rem;
    }
    
    .filter-select {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .quick-filter-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}
