/* 页面特定样式 - 高级筛选面板、特殊页面样式等 */

/* 高级筛选面板样式 */
#advancedFilterPanel {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#advancedFilterPanel .card-header {
    border-bottom: 2px solid #0d6efd;
}

#advancedFilterPanel .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
    font-size: 14px;
}

/* 下拉筛选框样式 */
.dropdown-filter-wrapper {
    position: relative;
}

.dropdown-filter-input {
    cursor: pointer;
    background-color: white;
}

.dropdown-filter-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.dropdown-filter-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: 4px;
    padding: 10px;
    max-height: 300px;
    overflow: hidden;
}

.dropdown-filter-menu.show {
    display: block;
}

.dropdown-filter-options {
    max-height: 220px;
    overflow-y: auto;
}

.dropdown-filter-option {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.dropdown-filter-option:hover {
    background-color: #f8f9fa;
}

.dropdown-filter-option.selected {
    background-color: #e7f3ff;
    color: #0d6efd;
    font-weight: 500;
}

.dropdown-filter-option input[type="checkbox"] {
    margin-right: 8px;
}

/* 选中标签样式 */
.selected-tags {
    margin-top: 8px;
    min-height: 24px;
}

.filter-tag {
    display: inline-block;
    background-color: #0d6efd;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.filter-tag .remove-tag {
    cursor: pointer;
    margin-left: 5px;
    font-weight: bold;
}

.filter-tag .remove-tag:hover {
    color: #ffdddd;
}

#filterResultText b {
    color: #0d6efd;
    font-size: 18px;
}

/* 搜索框样式 */
#advancedFilterPanel .form-control-sm {
    font-size: 13px;
    height: 32px;
}

#advancedFilterPanel input[type="text"].form-control-sm::placeholder {
    color: #adb5bd;
    font-size: 12px;
}
