/* Modern Filter Bar Styles */

.filter-container {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.95) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 107, 107, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.filter-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filter-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.filter-subtitle {
    color: var(--text-secondary, #b3b3b3);
    font-size: 0.95rem;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary, #b3b3b3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-select {
    appearance: none;
    background: rgba(42, 42, 42, 0.8);
    border: 2px solid rgba(255, 107, 107, 0.2);
    color: white;
    border-radius: 12px;
    padding: 0.75rem 2.75rem 0.75rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-width: 160px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ff6b6b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
}

.filter-select:hover {
    border-color: rgba(255, 107, 107, 0.5);
    background-color: rgba(42, 42, 42, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15);
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-primary, #ff6b6b);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
    background-color: rgba(42, 42, 42, 1);
}

.filter-select option {
    background: #1a1a1a;
    color: white;
    padding: 0.5rem;
}

/* Category Pills */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 107, 107, 0.1);
}

.category-pill {
    padding: 0.625rem 1.25rem;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(42, 42, 42, 0.6);
    border: 2px solid rgba(255, 107, 107, 0.15);
    color: var(--text-primary, #ffffff);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.5s;
}

.category-pill:hover::before {
    left: 100%;
}

.category-pill:hover {
    background: rgba(42, 42, 42, 0.9);
    border-color: rgba(255, 107, 107, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.category-pill.active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    border-color: #ff6b6b;
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

.category-pill.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 107, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .filter-container {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .filter-title {
        font-size: 1.5rem;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .category-pill {
        text-align: center;
    }
}
