/* 分析范围配置样式 */

.scope-config-section {
    margin-top: 20px;
    padding: 15px;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
}

.scope-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.scope-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.scope-preview {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: white;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    font-size: 12px;
}

.preview-label {
    color: #666;
}

.preview-count {
    font-weight: 600;
    color: #52c41a;
}

.scope-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scope-group {
    background: white;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
}

.scope-group-title {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}

.scope-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.scope-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e8e8e8;
    background: white;
    white-space: nowrap;
}

.scope-checkbox:hover {
    background: #f6ffed;
    border-color: #b7eb8f;
}

.scope-checkbox input[type="checkbox"] {
    margin: 0;
    width: 14px;
    height: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

.scope-checkbox input[type="checkbox"]:checked + .checkbox-label .checkbox-name {
    color: #52c41a;
    font-weight: 600;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 4px;
}

.checkbox-name {
    font-size: 13px;
    color: #333;
}

.checkbox-desc {
    font-size: 11px;
    color: #999;
}

.scope-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e8e8e8;
}

.scope-actions .btn {
    padding: 6px 16px;
    font-size: 13px;
}

.btn-secondary {
    background: white;
    color: #666;
    border: 1px solid #d9d9d9;
}

.btn-secondary:hover {
    background: #fafafa;
    border-color: #999;
}
