/* 作者フィルタリング用スタイル */
#author-filter-container {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    border: 1px solid #ddd;
}

#author-filter-container label {
    font-weight: bold;
    color: #333;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

/* Select2のカスタマイズ */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #ccc;
    border-radius: 4px;
    min-height: 38px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff;
    border: 1px solid #006fe6;
    color: white;
    padding: 2px 8px;
    margin: 3px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    margin-right: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ffcccc;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #007bff;
}

.select2-dropdown {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.select2-search__field {
    border: 1px solid #ccc !important;
    padding: 4px !important;
}

/* 作者フィルタと他のフィルタの調整 */
#checkbox {
    margin-bottom: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #author-filter-container {
        padding: 10px;
    }
    
    #author-filter-container label {
        display: block;
        margin-bottom: 10px;
    }
    
    #author-select {
        width: 100% !important;
    }
}